Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / ExitEventArgs.cs / 1 / ExitEventArgs.cs
//---------------------------------------------------------------------------- // File: ExitEventArgs.cs // // Copyright (C) 2004 by Microsoft Corporation. All rights reserved. // // Description: // This event will be called after Shutdown has been called. // // The developer will hook this event if they want to take action // when the application exits. // // History: // 08/10/04: kusumav Moved out of Application.cs to its own separate file. // 05/09/05: hamidm Created ExitEventArgs.cs and renamed ShuttingDownEventArgs // to ExitEventArgs // //--------------------------------------------------------------------------- namespace System.Windows { ////// Event args for the Exit event /// public class ExitEventArgs : EventArgs { internal int _exitCode; ////// constructor /// internal ExitEventArgs(int exitCode) { _exitCode = exitCode; } ////// Get and set the exit code to be returned by this application /// public int ApplicationExitCode { get { return _exitCode; } set { _exitCode = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // File: ExitEventArgs.cs // // Copyright (C) 2004 by Microsoft Corporation. All rights reserved. // // Description: // This event will be called after Shutdown has been called. // // The developer will hook this event if they want to take action // when the application exits. // // History: // 08/10/04: kusumav Moved out of Application.cs to its own separate file. // 05/09/05: hamidm Created ExitEventArgs.cs and renamed ShuttingDownEventArgs // to ExitEventArgs // //--------------------------------------------------------------------------- namespace System.Windows { ////// Event args for the Exit event /// public class ExitEventArgs : EventArgs { internal int _exitCode; ////// constructor /// internal ExitEventArgs(int exitCode) { _exitCode = exitCode; } ////// Get and set the exit code to be returned by this application /// public int ApplicationExitCode { get { return _exitCode; } set { _exitCode = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PartialArray.cs
- WindowsScroll.cs
- CollectionConverter.cs
- SystemEvents.cs
- XhtmlBasicLabelAdapter.cs
- ResourceBinder.cs
- TypeTypeConverter.cs
- BinaryParser.cs
- UriScheme.cs
- HttpApplicationStateBase.cs
- PostBackOptions.cs
- ClientProxyGenerator.cs
- WebPartManagerDesigner.cs
- Parser.cs
- ResourceDisplayNameAttribute.cs
- ControlBindingsCollection.cs
- Validator.cs
- DesignerGenericWebPart.cs
- InputChannelBinder.cs
- DetailsViewInsertEventArgs.cs
- TimelineGroup.cs
- MediaCommands.cs
- InputQueue.cs
- Section.cs
- AddressingVersion.cs
- PackageStore.cs
- ScriptResourceHandler.cs
- DocumentAutomationPeer.cs
- SQLBytesStorage.cs
- FillErrorEventArgs.cs
- ToolBar.cs
- CategoryNameCollection.cs
- TextCharacters.cs
- WebZone.cs
- HtmlValidatorAdapter.cs
- SendKeys.cs
- CheckBox.cs
- WindowsListViewItem.cs
- UIServiceHelper.cs
- CodeTypeOfExpression.cs
- ContextStaticAttribute.cs
- PolygonHotSpot.cs
- InternalsVisibleToAttribute.cs
- HashRepartitionEnumerator.cs
- SafeSystemMetrics.cs
- BoolExpressionVisitors.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- OuterGlowBitmapEffect.cs
- TraceInternal.cs
- SynchronizedDispatch.cs
- SystemResources.cs
- CodeCatchClauseCollection.cs
- NavigationHelper.cs
- InvalidDataException.cs
- StylusEventArgs.cs
- ReliabilityContractAttribute.cs
- DependencyObjectType.cs
- MsmqPoisonMessageException.cs
- DirectoryInfo.cs
- ObjectSpanRewriter.cs
- MonthChangedEventArgs.cs
- Frame.cs
- SplitterEvent.cs
- Console.cs
- XamlTypeMapper.cs
- Profiler.cs
- SqlDataSourceConnectionPanel.cs
- ChangeToolStripParentVerb.cs
- DescendantBaseQuery.cs
- WpfSharedBamlSchemaContext.cs
- BoolLiteral.cs
- SQLDateTime.cs
- UnconditionalPolicy.cs
- CustomTypeDescriptor.cs
- ThreadStateException.cs
- SafeNativeMethodsMilCoreApi.cs
- XhtmlStyleClass.cs
- SqlBulkCopyColumnMapping.cs
- DataKeyArray.cs
- TreeViewItemAutomationPeer.cs
- SimpleHandlerBuildProvider.cs
- GradientStop.cs
- RawKeyboardInputReport.cs
- QueryTreeBuilder.cs
- ProfileServiceManager.cs
- Setter.cs
- RegexTypeEditor.cs
- ConditionalAttribute.cs
- ZipPackage.cs
- FontStretches.cs
- _ListenerRequestStream.cs
- ZipIOExtraField.cs
- SqlDataSourceFilteringEventArgs.cs
- MultilineStringEditor.cs
- StringUtil.cs
- InvalidPrinterException.cs
- XmlSchemaRedefine.cs
- Interlocked.cs
- OrderedEnumerableRowCollection.cs
- TreeViewEvent.cs