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
- RequestStatusBarUpdateEventArgs.cs
- DockProviderWrapper.cs
- SessionStateUtil.cs
- PropertyPathConverter.cs
- AuthenticatingEventArgs.cs
- WebPartEditorCancelVerb.cs
- ControlPropertyNameConverter.cs
- AnimationTimeline.cs
- SoundPlayer.cs
- AnimatedTypeHelpers.cs
- XhtmlBasicControlAdapter.cs
- serverconfig.cs
- ThreadInterruptedException.cs
- DisplayNameAttribute.cs
- AsnEncodedData.cs
- FamilyMapCollection.cs
- RightsManagementUser.cs
- ModifiableIteratorCollection.cs
- ImageInfo.cs
- WpfPayload.cs
- AttachmentService.cs
- DmlSqlGenerator.cs
- TimerElapsedEvenArgs.cs
- DecodeHelper.cs
- SiteMapDataSource.cs
- MenuAutomationPeer.cs
- WebConfigurationHostFileChange.cs
- ErrorRuntimeConfig.cs
- TextSelectionHelper.cs
- PageContentAsyncResult.cs
- NativeMethods.cs
- storepermission.cs
- FindCriteria.cs
- ConstructorArgumentAttribute.cs
- BaseUriWithWildcard.cs
- XhtmlBasicControlAdapter.cs
- Brushes.cs
- TextTreeUndoUnit.cs
- XslTransform.cs
- QilName.cs
- DataGridViewRowConverter.cs
- Trace.cs
- InternalBase.cs
- Zone.cs
- XmlNodeChangedEventArgs.cs
- ImageConverter.cs
- FrameworkElementAutomationPeer.cs
- GenericTypeParameterBuilder.cs
- securitycriticaldataformultiplegetandset.cs
- ApplicationFileParser.cs
- ParsedAttributeCollection.cs
- ReadOnlyDataSourceView.cs
- BufferedWebEventProvider.cs
- InkCanvasAutomationPeer.cs
- _NestedMultipleAsyncResult.cs
- TransactionFlowOption.cs
- PageWrapper.cs
- TextServicesDisplayAttributePropertyRanges.cs
- SoapSchemaImporter.cs
- XmlTypeAttribute.cs
- ArraySortHelper.cs
- SchemaReference.cs
- TemplatingOptionsDialog.cs
- ConstructorExpr.cs
- FilterableAttribute.cs
- CharEntityEncoderFallback.cs
- DbProviderFactories.cs
- _Connection.cs
- EventSinkHelperWriter.cs
- AspNetSynchronizationContext.cs
- OdbcException.cs
- TextWriterTraceListener.cs
- ComponentResourceKeyConverter.cs
- _DisconnectOverlappedAsyncResult.cs
- ToolbarAUtomationPeer.cs
- ProfileInfo.cs
- XmlSchemaInferenceException.cs
- DataGridViewControlCollection.cs
- SpellerInterop.cs
- GC.cs
- CompilerErrorCollection.cs
- TextTreeTextBlock.cs
- PrivateFontCollection.cs
- SchemaDeclBase.cs
- WebPartConnectVerb.cs
- ButtonColumn.cs
- Context.cs
- UriExt.cs
- VectorCollectionConverter.cs
- XmlIlVisitor.cs
- ContentPlaceHolderDesigner.cs
- ServiceOperationListItemList.cs
- LinkTarget.cs
- SyndicationContent.cs
- FieldTemplateUserControl.cs
- WebPartHelpVerb.cs
- NumberSubstitution.cs
- recordstate.cs
- VolatileResourceManager.cs
- AuthenticationModuleElement.cs