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
- ButtonBaseAdapter.cs
- SoundPlayerAction.cs
- FontCollection.cs
- SettingsAttributeDictionary.cs
- SafeLibraryHandle.cs
- TimersDescriptionAttribute.cs
- ExternalDataExchangeService.cs
- DispatchChannelSink.cs
- XPathMultyIterator.cs
- ImportContext.cs
- HttpCacheVary.cs
- WSHttpSecurity.cs
- RangeValueProviderWrapper.cs
- ClearTypeHintValidation.cs
- GenericsInstances.cs
- VectorAnimationUsingKeyFrames.cs
- altserialization.cs
- AuthenticationSection.cs
- AssociationProvider.cs
- DefaultPrintController.cs
- AssociativeAggregationOperator.cs
- HttpProtocolImporter.cs
- SelfIssuedAuthAsymmetricKey.cs
- SrgsRule.cs
- SoapSchemaImporter.cs
- DbConnectionStringCommon.cs
- SqlTransaction.cs
- EnumerableRowCollectionExtensions.cs
- controlskin.cs
- MouseGestureConverter.cs
- OutputCacheSettingsSection.cs
- DebugHandleTracker.cs
- ColorPalette.cs
- ProjectionPathSegment.cs
- SiblingIterators.cs
- SimpleWebHandlerParser.cs
- AnnotationComponentChooser.cs
- _BaseOverlappedAsyncResult.cs
- TableItemStyle.cs
- MatrixAnimationBase.cs
- XmlNodeComparer.cs
- ItemDragEvent.cs
- FactoryMaker.cs
- _KerberosClient.cs
- DataGridPageChangedEventArgs.cs
- Command.cs
- Int32RectConverter.cs
- TimeZone.cs
- FileChangesMonitor.cs
- FactoryId.cs
- DependencyObjectPropertyDescriptor.cs
- TypeEnumerableViewSchema.cs
- SqlTopReducer.cs
- PropertyPanel.cs
- EventSinkHelperWriter.cs
- HtmlTernaryTree.cs
- AppModelKnownContentFactory.cs
- BrowserCapabilitiesFactoryBase.cs
- DefaultHttpHandler.cs
- PropertyBuilder.cs
- SByteStorage.cs
- WebExceptionStatus.cs
- followingquery.cs
- XPathNavigatorKeyComparer.cs
- StringUtil.cs
- GridViewCellAutomationPeer.cs
- HeaderCollection.cs
- HostedElements.cs
- KeyedHashAlgorithm.cs
- BinHexDecoder.cs
- FileSystemWatcher.cs
- PlainXmlDeserializer.cs
- ObjectConverter.cs
- ToolStripPanelDesigner.cs
- FontStretchConverter.cs
- User.cs
- StringFreezingAttribute.cs
- IDataContractSurrogate.cs
- EntityViewContainer.cs
- SymDocumentType.cs
- ListItemParagraph.cs
- DecoratedNameAttribute.cs
- DataRelationPropertyDescriptor.cs
- NotifyCollectionChangedEventArgs.cs
- GridViewColumnHeaderAutomationPeer.cs
- SymbolDocumentInfo.cs
- XslVisitor.cs
- DecoderReplacementFallback.cs
- InfoCardProofToken.cs
- InfoCardPolicy.cs
- FlowDocumentPaginator.cs
- IMembershipProvider.cs
- FlowLayoutSettings.cs
- DBPropSet.cs
- unitconverter.cs
- Win32Exception.cs
- CodeAttributeDeclaration.cs
- XamlVector3DCollectionSerializer.cs
- SerializationAttributes.cs
- MSAAEventDispatcher.cs