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
- IdnMapping.cs
- TableLayoutCellPaintEventArgs.cs
- ObjectNotFoundException.cs
- ReadOnlyObservableCollection.cs
- FontFamilyConverter.cs
- querybuilder.cs
- BamlLocalizabilityResolver.cs
- SecureStringHasher.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ResourceReferenceExpression.cs
- LookupNode.cs
- CngKey.cs
- XhtmlTextWriter.cs
- PrintPreviewDialog.cs
- StyleCollection.cs
- ManifestResourceInfo.cs
- UnsafeNativeMethods.cs
- exports.cs
- ComponentChangingEvent.cs
- HtmlHistory.cs
- ImageCodecInfo.cs
- TimerElapsedEvenArgs.cs
- Transform.cs
- ScopelessEnumAttribute.cs
- BindingMemberInfo.cs
- EntityDataSourceContainerNameConverter.cs
- VariantWrapper.cs
- MetadataLocation.cs
- UserControl.cs
- EntityViewGenerator.cs
- DataDocumentXPathNavigator.cs
- TransformerInfo.cs
- Clipboard.cs
- CheckoutException.cs
- BaseProcessProtocolHandler.cs
- TextDecoration.cs
- ExtentCqlBlock.cs
- StrokeSerializer.cs
- RadioButtonDesigner.cs
- CollectionView.cs
- Math.cs
- ServiceContractViewControl.Designer.cs
- DataAccessException.cs
- TemplateBindingExtensionConverter.cs
- TrackingMemoryStreamFactory.cs
- FolderLevelBuildProviderCollection.cs
- CompilerWrapper.cs
- ResourceCategoryAttribute.cs
- DataGridViewImageCell.cs
- SqlProvider.cs
- XmlSchemaSimpleTypeRestriction.cs
- regiisutil.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- MultilineStringConverter.cs
- AttributeCollection.cs
- MemoryPressure.cs
- AttributeCollection.cs
- VBIdentifierDesigner.xaml.cs
- XhtmlTextWriter.cs
- IItemContainerGenerator.cs
- XmlHelper.cs
- OuterGlowBitmapEffect.cs
- TaskCanceledException.cs
- RoleGroupCollection.cs
- SQLByte.cs
- storagemappingitemcollection.viewdictionary.cs
- Renderer.cs
- DataGridViewToolTip.cs
- CompilerErrorCollection.cs
- FlowPosition.cs
- Bitmap.cs
- LinqDataSourceContextEventArgs.cs
- DependencyObjectProvider.cs
- NotFiniteNumberException.cs
- DragDeltaEventArgs.cs
- TextEditorThreadLocalStore.cs
- TripleDESCryptoServiceProvider.cs
- KeyBinding.cs
- AuthenticatedStream.cs
- VScrollBar.cs
- DataControlField.cs
- SafeSerializationManager.cs
- X509ThumbprintKeyIdentifierClause.cs
- OdbcDataAdapter.cs
- CollaborationHelperFunctions.cs
- DocumentPageView.cs
- GenericIdentity.cs
- PrivilegeNotHeldException.cs
- CompressedStack.cs
- SoapMessage.cs
- BitmapScalingModeValidation.cs
- KoreanLunisolarCalendar.cs
- PolicyFactory.cs
- Panel.cs
- ELinqQueryState.cs
- ProtectedConfigurationSection.cs
- EFTableProvider.cs
- ValidateNames.cs
- ValidationSummary.cs
- SecurityResources.cs