Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / ExitEventArgs.cs / 1305600 / 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
- PartEditor.cs
- COM2ColorConverter.cs
- SystemEvents.cs
- VectorConverter.cs
- TrackingServices.cs
- FixedTextContainer.cs
- XpsS0ValidatingLoader.cs
- ModifierKeysValueSerializer.cs
- RuntimeArgumentHandle.cs
- MouseGestureValueSerializer.cs
- XmlSerializerSection.cs
- WindowProviderWrapper.cs
- LinearGradientBrush.cs
- StreamReader.cs
- ShaderRenderModeValidation.cs
- TrustLevelCollection.cs
- UriTemplateClientFormatter.cs
- mansign.cs
- DbSourceCommand.cs
- StatusBarDrawItemEvent.cs
- Point3DCollection.cs
- AdvancedBindingPropertyDescriptor.cs
- SqlException.cs
- CustomErrorsSection.cs
- PathSegmentCollection.cs
- UIElement3DAutomationPeer.cs
- TdsParameterSetter.cs
- IListConverters.cs
- SmiConnection.cs
- BuiltInExpr.cs
- PrintPageEvent.cs
- BasicHttpSecurity.cs
- CounterSampleCalculator.cs
- MainMenu.cs
- DataColumnPropertyDescriptor.cs
- PackageDigitalSignature.cs
- DataGridViewTextBoxCell.cs
- AssemblyBuilder.cs
- Selector.cs
- sqlpipe.cs
- HttpRequestTraceRecord.cs
- IPPacketInformation.cs
- IfJoinedCondition.cs
- util.cs
- FileDialogPermission.cs
- XamlPathDataSerializer.cs
- CodeTypeMember.cs
- CultureInfo.cs
- ComponentCollection.cs
- UnescapedXmlDiagnosticData.cs
- BitmapEffectRenderDataResource.cs
- AspProxy.cs
- Scene3D.cs
- TextRunProperties.cs
- ListViewItem.cs
- TypeBinaryExpression.cs
- Base64Encoding.cs
- WindowsTokenRoleProvider.cs
- CustomWebEventKey.cs
- ZipArchive.cs
- ByteStreamGeometryContext.cs
- DataTableExtensions.cs
- ObjectQueryExecutionPlan.cs
- StringBuilder.cs
- UInt32Storage.cs
- FastEncoder.cs
- Int16KeyFrameCollection.cs
- SignatureToken.cs
- Int32KeyFrameCollection.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DataGridColumnCollection.cs
- ZipPackage.cs
- FlowDocumentReader.cs
- PassportIdentity.cs
- HighlightVisual.cs
- CodeStatementCollection.cs
- WebFormsRootDesigner.cs
- HelpHtmlBuilder.cs
- ToolStripSplitStackLayout.cs
- DrawingAttributeSerializer.cs
- elementinformation.cs
- Setter.cs
- NetworkAddressChange.cs
- ResourcePool.cs
- propertyentry.cs
- ButtonBaseAutomationPeer.cs
- ExpandCollapseProviderWrapper.cs
- InternalsVisibleToAttribute.cs
- FullTrustAssembly.cs
- EntitySqlQueryCacheKey.cs
- DataServiceQuery.cs
- ClassHandlersStore.cs
- WebPartConnectionsConnectVerb.cs
- ContextMenuStrip.cs
- RtfControlWordInfo.cs
- HttpWebRequestElement.cs
- ReadOnlyDataSourceView.cs
- SHA256Managed.cs
- XmlnsCache.cs
- KnownTypeAttribute.cs