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
- WinOEToolBoxItem.cs
- HostedAspNetEnvironment.cs
- PostBackOptions.cs
- QueueProcessor.cs
- SiteMapNodeItem.cs
- ConstrainedDataObject.cs
- XmlKeywords.cs
- panel.cs
- CompositeClientFormatter.cs
- PrimaryKeyTypeConverter.cs
- CodeCompileUnit.cs
- WpfPayload.cs
- ZoneIdentityPermission.cs
- DesignBindingPropertyDescriptor.cs
- OperationInfoBase.cs
- TemplateBindingExpressionConverter.cs
- CompositeCollectionView.cs
- prefixendpointaddressmessagefiltertable.cs
- XmlILStorageConverter.cs
- Compiler.cs
- JobInputBins.cs
- XamlDesignerSerializationManager.cs
- StandardCommandToolStripMenuItem.cs
- Content.cs
- DataConnectionHelper.cs
- DiscoveryMessageSequence.cs
- _SSPIWrapper.cs
- columnmapkeybuilder.cs
- ScanQueryOperator.cs
- SoapHeaders.cs
- WebPartConnectionsConfigureVerb.cs
- LiteralText.cs
- ChannelPoolSettingsElement.cs
- ZoneLinkButton.cs
- DocumentPage.cs
- SqlClientWrapperSmiStream.cs
- FeatureManager.cs
- NavigatorOutput.cs
- SafeCloseHandleCritical.cs
- BindingGroup.cs
- TextServicesProperty.cs
- DataSourceHelper.cs
- TextBlockAutomationPeer.cs
- TableLayoutPanel.cs
- TextServicesHost.cs
- SoapCodeExporter.cs
- FixedPage.cs
- DefaultParameterValueAttribute.cs
- Figure.cs
- XmlSchemaSimpleContentRestriction.cs
- AttributeData.cs
- DropTarget.cs
- TransformPatternIdentifiers.cs
- BooleanProjectedSlot.cs
- DynamicValidatorEventArgs.cs
- DateBoldEvent.cs
- IncrementalReadDecoders.cs
- WebPartMenu.cs
- Int16AnimationUsingKeyFrames.cs
- sqlser.cs
- XmlSchemaExternal.cs
- DeleteBookmarkScope.cs
- MobileControlDesigner.cs
- SQlBooleanStorage.cs
- DataKeyArray.cs
- ConfigurationStrings.cs
- LinearGradientBrush.cs
- ControlAdapter.cs
- Axis.cs
- RankException.cs
- GroupDescription.cs
- XmlStreamNodeWriter.cs
- XmlSchemaValidationException.cs
- SoapFault.cs
- PropertyPathWorker.cs
- StreamWriter.cs
- HostingPreferredMapPath.cs
- TripleDESCryptoServiceProvider.cs
- ReplacementText.cs
- XmlLoader.cs
- DiffuseMaterial.cs
- LicenseException.cs
- Int64Storage.cs
- InputProcessorProfiles.cs
- GenericAuthenticationEventArgs.cs
- BitmapImage.cs
- _BasicClient.cs
- LinqDataSourceStatusEventArgs.cs
- ProtocolsConfigurationHandler.cs
- Lasso.cs
- FileAuthorizationModule.cs
- UpdatableWrapper.cs
- Identity.cs
- ObjectViewQueryResultData.cs
- TypeInitializationException.cs
- ReflectionServiceProvider.cs
- HtmlTableCell.cs
- WebUtil.cs
- XmlSecureResolver.cs
- PropertyCondition.cs