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
- QuaternionAnimationBase.cs
- SqlUtils.cs
- TargetException.cs
- RegexWriter.cs
- ProxyWebPartConnectionCollection.cs
- IncomingWebResponseContext.cs
- FixedDocumentPaginator.cs
- Msec.cs
- RuleProcessor.cs
- AliasExpr.cs
- Site.cs
- EventWaitHandleSecurity.cs
- PhysicalAddress.cs
- AssociatedControlConverter.cs
- Section.cs
- IImplicitResourceProvider.cs
- StringResourceManager.cs
- PointConverter.cs
- MasterPageBuildProvider.cs
- Zone.cs
- DocumentOrderQuery.cs
- ExpressionBuilder.cs
- CachedTypeface.cs
- DBSchemaTable.cs
- DataSourceView.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- RequestSecurityToken.cs
- UInt16Converter.cs
- LineGeometry.cs
- RegexBoyerMoore.cs
- CompareValidator.cs
- MailSettingsSection.cs
- BooleanFacetDescriptionElement.cs
- BufferModeSettings.cs
- StringPropertyBuilder.cs
- SafeLocalMemHandle.cs
- XsltSettings.cs
- Directory.cs
- AmbientLight.cs
- TargetConverter.cs
- StrongTypingException.cs
- WebPartDisplayModeCancelEventArgs.cs
- ScriptingProfileServiceSection.cs
- InputScopeConverter.cs
- EndOfStreamException.cs
- FontSourceCollection.cs
- MetadataException.cs
- WindowAutomationPeer.cs
- DataBindingCollection.cs
- ContentPresenter.cs
- ScriptingWebServicesSectionGroup.cs
- BooleanStorage.cs
- WrappedReader.cs
- List.cs
- CompositeFontParser.cs
- SignatureTargetIdManager.cs
- WebBrowserProgressChangedEventHandler.cs
- JsonReader.cs
- DataService.cs
- CompositeDataBoundControl.cs
- GridViewCommandEventArgs.cs
- UpdatePanel.cs
- DocumentViewerHelper.cs
- WebSysDescriptionAttribute.cs
- DBSqlParserTableCollection.cs
- QuestionEventArgs.cs
- BinaryFormatterWriter.cs
- XmlHelper.cs
- UnicastIPAddressInformationCollection.cs
- ComponentEditorPage.cs
- InternalEnumValidatorAttribute.cs
- SimpleHandlerBuildProvider.cs
- MatchingStyle.cs
- DatePickerDateValidationErrorEventArgs.cs
- CollectionViewGroup.cs
- XsdBuildProvider.cs
- SkipStoryboardToFill.cs
- MemoryRecordBuffer.cs
- DllHostedComPlusServiceHost.cs
- DocumentApplicationJournalEntry.cs
- Polygon.cs
- Descriptor.cs
- DataPagerFieldItem.cs
- WebColorConverter.cs
- ModelPerspective.cs
- DBAsyncResult.cs
- PagesSection.cs
- DefaultShape.cs
- AuthenticationManager.cs
- MulticastOption.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- PersonalizationEntry.cs
- recordstate.cs
- IItemProperties.cs
- SrgsText.cs
- SourceInterpreter.cs
- AssemblyAttributes.cs
- Highlights.cs
- CodeIdentifiers.cs
- ScriptReferenceEventArgs.cs