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
- Unit.cs
- Color.cs
- TextTreeTextBlock.cs
- MDIControlStrip.cs
- OptimizerPatterns.cs
- COM2EnumConverter.cs
- PersistenceProviderElement.cs
- XmlDigitalSignatureProcessor.cs
- HtmlShim.cs
- C14NUtil.cs
- ActivationService.cs
- DataSourceControl.cs
- OAVariantLib.cs
- AssemblyAttributesGoHere.cs
- XmlConvert.cs
- SortableBindingList.cs
- PeerPresenceInfo.cs
- ContentIterators.cs
- VisualStyleInformation.cs
- ValidatingReaderNodeData.cs
- XamlReader.cs
- GridItemProviderWrapper.cs
- ToolBarButtonClickEvent.cs
- ACL.cs
- File.cs
- DataBindingExpressionBuilder.cs
- DataFieldConverter.cs
- StringSource.cs
- FillRuleValidation.cs
- SponsorHelper.cs
- DataGridToolTip.cs
- PropertyValueUIItem.cs
- TypeLoadException.cs
- XmlSignificantWhitespace.cs
- MetadataItemEmitter.cs
- WindowsAuthenticationEventArgs.cs
- TreeIterator.cs
- Token.cs
- MessageQueuePermissionAttribute.cs
- SessionPageStatePersister.cs
- initElementDictionary.cs
- StorageComplexTypeMapping.cs
- JsonObjectDataContract.cs
- MinMaxParagraphWidth.cs
- SettingsAttributeDictionary.cs
- ProcessModelSection.cs
- _ConnectionGroup.cs
- HiddenFieldDesigner.cs
- MembershipUser.cs
- XmlSchemaGroupRef.cs
- SmiGettersStream.cs
- DependencyPropertyDescriptor.cs
- DesignTimeParseData.cs
- SoapSchemaImporter.cs
- GenericTextProperties.cs
- RootBuilder.cs
- OleDbStruct.cs
- UrlMapping.cs
- MergeFailedEvent.cs
- UnsignedPublishLicense.cs
- SymmetricSecurityBindingElement.cs
- DatatypeImplementation.cs
- DefaultWorkflowSchedulerService.cs
- BufferedWebEventProvider.cs
- ToolStripManager.cs
- SHA1Cng.cs
- Suspend.cs
- SettingsPropertyValue.cs
- RegistryDataKey.cs
- MessagePropertyVariants.cs
- KeyboardNavigation.cs
- ToolStripContentPanel.cs
- MetaDataInfo.cs
- Symbol.cs
- Mutex.cs
- ObjectDataSource.cs
- CheckBoxFlatAdapter.cs
- CachedFontFace.cs
- IgnoreFlushAndCloseStream.cs
- ObjectSecurityT.cs
- MD5.cs
- SharedPersonalizationStateInfo.cs
- FilterQuery.cs
- EventLogTraceListener.cs
- BinarySerializer.cs
- ClientConfigurationHost.cs
- BackStopAuthenticationModule.cs
- LocatorManager.cs
- WebFormDesignerActionService.cs
- XmlSignatureManifest.cs
- SqlUdtInfo.cs
- Int32Collection.cs
- WinFormsSecurity.cs
- PageParser.cs
- XmlChildNodes.cs
- RuntimeArgumentHandle.cs
- Tile.cs
- FastEncoder.cs
- InvalidOperationException.cs
- PrimarySelectionAdorner.cs