Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- safelink.cs
- ControlLocalizer.cs
- FunctionDetailsReader.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WinFormsSpinner.cs
- XPathSelectionIterator.cs
- ScriptResourceDefinition.cs
- HwndSubclass.cs
- RoutedUICommand.cs
- SizeAnimationBase.cs
- HttpListenerContext.cs
- SystemBrushes.cs
- ExpressionContext.cs
- LateBoundBitmapDecoder.cs
- ApplyTemplatesAction.cs
- SmtpDigestAuthenticationModule.cs
- EmptyEnumerator.cs
- DataMemberListEditor.cs
- KerberosRequestorSecurityToken.cs
- LocalFileSettingsProvider.cs
- SerializationUtilities.cs
- EntityDataSourceMemberPath.cs
- FormatException.cs
- XmlCharCheckingReader.cs
- RawTextInputReport.cs
- smtpconnection.cs
- ExpressionBinding.cs
- XmlQueryContext.cs
- XmlBindingWorker.cs
- FrameworkElement.cs
- RTLAwareMessageBox.cs
- ProcessThreadCollection.cs
- HasCopySemanticsAttribute.cs
- WebPermission.cs
- HttpNamespaceReservationInstallComponent.cs
- DataGridViewColumnCollection.cs
- CreateUserWizardStep.cs
- SQLInt32Storage.cs
- dataSvcMapFileLoader.cs
- ComplexType.cs
- ServicesUtilities.cs
- UInt16.cs
- SoapAttributes.cs
- DataGridViewAdvancedBorderStyle.cs
- BezierSegment.cs
- HierarchicalDataSourceIDConverter.cs
- DbConvert.cs
- RegionData.cs
- WebSysDescriptionAttribute.cs
- SingleObjectCollection.cs
- PointAnimationBase.cs
- XmlCharacterData.cs
- XmlSerializerFormatAttribute.cs
- JsonEnumDataContract.cs
- IndentedWriter.cs
- RoleGroupCollection.cs
- NetMsmqSecurityMode.cs
- PathSegment.cs
- FunctionNode.cs
- DetailsView.cs
- VBCodeProvider.cs
- AppSettings.cs
- MetadataFile.cs
- SiteIdentityPermission.cs
- SrgsGrammar.cs
- Expander.cs
- HtmlTableCell.cs
- SimpleHandlerFactory.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ContentElement.cs
- PointCollection.cs
- RenameRuleObjectDialog.Designer.cs
- ProfileBuildProvider.cs
- DatePickerDateValidationErrorEventArgs.cs
- DPAPIProtectedConfigurationProvider.cs
- ImageMetadata.cs
- BindingGraph.cs
- assemblycache.cs
- PanelStyle.cs
- EventToken.cs
- BuildProvider.cs
- ChildDocumentBlock.cs
- PanelDesigner.cs
- NetworkInformationException.cs
- MessageHeaderDescription.cs
- AutoGeneratedField.cs
- MLangCodePageEncoding.cs
- NavigationFailedEventArgs.cs
- PointAnimationClockResource.cs
- SQLBytes.cs
- SignedInfo.cs
- LocatorBase.cs
- TextSelection.cs
- SelectedDatesCollection.cs
- ProxyAttribute.cs
- BreakRecordTable.cs
- XPathNodePointer.cs
- QuaternionConverter.cs
- PageContentCollection.cs
- ToolStripGripRenderEventArgs.cs