Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ExternalDataExchangeClient.cs
- DecimalAnimationBase.cs
- BamlLocalizableResourceKey.cs
- InkCanvasFeedbackAdorner.cs
- RewritingProcessor.cs
- Regex.cs
- RelatedView.cs
- StateManager.cs
- ArrangedElementCollection.cs
- DataGridRowEventArgs.cs
- SecurityPolicySection.cs
- SpecularMaterial.cs
- HtmlButton.cs
- Point3DAnimationUsingKeyFrames.cs
- XmlNodeList.cs
- ManagementNamedValueCollection.cs
- ScrollEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- QueryOutputWriter.cs
- ProfileSection.cs
- GeneratedCodeAttribute.cs
- LocalizableAttribute.cs
- ReachSerializationUtils.cs
- SpinLock.cs
- RtfFormatStack.cs
- HiddenField.cs
- XmlName.cs
- DynamicActivityXamlReader.cs
- Property.cs
- TextCharacters.cs
- TaskFileService.cs
- SpeakCompletedEventArgs.cs
- QueryCoreOp.cs
- DataGridPagerStyle.cs
- TraceLevelStore.cs
- SHA256CryptoServiceProvider.cs
- HiddenFieldPageStatePersister.cs
- MethodBuilderInstantiation.cs
- LazyInitializer.cs
- HealthMonitoringSection.cs
- PhysicalFontFamily.cs
- EmbeddedMailObjectCollectionEditor.cs
- ClosureBinding.cs
- ZipIOExtraField.cs
- FontStyles.cs
- SettingsPropertyValueCollection.cs
- EpmContentSerializer.cs
- LingerOption.cs
- SerialStream.cs
- FunctionDetailsReader.cs
- XmlnsPrefixAttribute.cs
- FloaterParagraph.cs
- ServiceThrottlingElement.cs
- XmlReaderSettings.cs
- Socket.cs
- WinFormsUtils.cs
- NamespaceList.cs
- TextEncodedRawTextWriter.cs
- ProcessThread.cs
- _DigestClient.cs
- UnsafeNativeMethods.cs
- ObfuscateAssemblyAttribute.cs
- WebPartsPersonalization.cs
- RightsManagementInformation.cs
- EndPoint.cs
- HttpModuleActionCollection.cs
- SqlDeflator.cs
- CatalogZone.cs
- MatchingStyle.cs
- EditorZone.cs
- SmiSettersStream.cs
- NameSpaceEvent.cs
- TextPatternIdentifiers.cs
- ToolboxDataAttribute.cs
- PrimitiveList.cs
- HwndSourceParameters.cs
- XmlSchemaAppInfo.cs
- TypeNameConverter.cs
- ipaddressinformationcollection.cs
- SpeechRecognizer.cs
- StylusCollection.cs
- DataGridViewComboBoxCell.cs
- TypedRowGenerator.cs
- DataGridViewUtilities.cs
- HashHelper.cs
- Int16KeyFrameCollection.cs
- StickyNoteHelper.cs
- MultiTouchSystemGestureLogic.cs
- DesignerActionVerbItem.cs
- SvcMapFileLoader.cs
- Select.cs
- SplineKeyFrames.cs
- SqlWebEventProvider.cs
- AtomServiceDocumentSerializer.cs
- Listbox.cs
- AsyncStreamReader.cs
- DbParameterHelper.cs
- QuaternionIndependentAnimationStorage.cs
- RawKeyboardInputReport.cs
- ServiceCredentials.cs