Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / ExitEventArgs.cs / 1305600 / 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
- Pointer.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- CachingHintValidation.cs
- BidOverLoads.cs
- ScriptRef.cs
- WindowsBrush.cs
- Literal.cs
- PerfService.cs
- DetectRunnableInstancesTask.cs
- SafeEventLogWriteHandle.cs
- EFDataModelProvider.cs
- SHA1.cs
- Vector3DConverter.cs
- ExtractCollection.cs
- OLEDB_Util.cs
- TdsParserSessionPool.cs
- ValidatorUtils.cs
- InputBinding.cs
- AppDomainManager.cs
- XmlExpressionDumper.cs
- SoapExtensionReflector.cs
- EventArgs.cs
- DateTimeConverter2.cs
- SerializerDescriptor.cs
- TriState.cs
- DependencyPropertyChangedEventArgs.cs
- PathStreamGeometryContext.cs
- WindowsPen.cs
- GeometryHitTestResult.cs
- DataPagerCommandEventArgs.cs
- TypeElement.cs
- DataGridRow.cs
- DbCommandDefinition.cs
- FtpCachePolicyElement.cs
- ComponentConverter.cs
- TypeSystem.cs
- LinqExpressionNormalizer.cs
- ServiceEndpointAssociationProvider.cs
- ServiceDurableInstanceContextProvider.cs
- Transform3DGroup.cs
- ImageInfo.cs
- FontStretch.cs
- Constraint.cs
- MenuItemStyle.cs
- DrawListViewItemEventArgs.cs
- DataGridViewRowsAddedEventArgs.cs
- RegisteredHiddenField.cs
- InfiniteIntConverter.cs
- Aggregates.cs
- Geometry.cs
- XPathNodeList.cs
- VirtualizingStackPanel.cs
- StylusDevice.cs
- FileFormatException.cs
- Type.cs
- ScaleTransform3D.cs
- ScrollEvent.cs
- UnmanagedMemoryStreamWrapper.cs
- MarshalByRefObject.cs
- Latin1Encoding.cs
- KnownTypes.cs
- AttachedAnnotation.cs
- SapiRecognizer.cs
- EntityDataSourceContainerNameConverter.cs
- SystemSounds.cs
- RegisteredArrayDeclaration.cs
- Base64Stream.cs
- AssemblyBuilderData.cs
- SafeNativeMethods.cs
- CookieHandler.cs
- SimpleApplicationHost.cs
- StringFreezingAttribute.cs
- OrderedDictionaryStateHelper.cs
- TemplateBindingExtension.cs
- GlyphsSerializer.cs
- ComponentSerializationService.cs
- LabelEditEvent.cs
- DynamicDocumentPaginator.cs
- TextContainerChangeEventArgs.cs
- QueryOutputWriter.cs
- Int32.cs
- ManifestSignedXml.cs
- ChtmlTextBoxAdapter.cs
- DemultiplexingClientMessageFormatter.cs
- DocumentSequence.cs
- CategoryGridEntry.cs
- CommandManager.cs
- ConnectionPoint.cs
- QueryAccessibilityHelpEvent.cs
- SamlAttribute.cs
- IndexedWhereQueryOperator.cs
- DataGridViewColumnConverter.cs
- MenuItem.cs
- TextServicesCompartment.cs
- NullableConverter.cs
- PopupRootAutomationPeer.cs
- DataGridViewHeaderCell.cs
- Brush.cs
- MimeTypeMapper.cs
- ConnectionPointCookie.cs