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
- FaultCode.cs
- Canvas.cs
- DataControlButton.cs
- SelectionProviderWrapper.cs
- XmlSchemaIdentityConstraint.cs
- DictationGrammar.cs
- PerfCounterSection.cs
- ServiceThrottlingElement.cs
- ToolStripGripRenderEventArgs.cs
- QilTargetType.cs
- ReceiveDesigner.xaml.cs
- WinFormsComponentEditor.cs
- SafeMILHandle.cs
- PeerToPeerException.cs
- XmlNamespaceManager.cs
- QualifierSet.cs
- precedingquery.cs
- CodeLinePragma.cs
- VerificationAttribute.cs
- InstanceOwnerQueryResult.cs
- MethodSet.cs
- XXXOnTypeBuilderInstantiation.cs
- ReadingWritingEntityEventArgs.cs
- QilExpression.cs
- MouseEvent.cs
- PrintDialog.cs
- EventEntry.cs
- TransactionFlowProperty.cs
- ServiceOperationViewControl.cs
- HtmlLink.cs
- GlyphTypeface.cs
- xmlglyphRunInfo.cs
- EntityViewContainer.cs
- EncryptedPackageFilter.cs
- InkCanvasSelection.cs
- BitmapMetadata.cs
- EventLogInternal.cs
- FormViewDeletedEventArgs.cs
- EntityContainer.cs
- GenericWebPart.cs
- Stylesheet.cs
- XmlNavigatorStack.cs
- SectionInformation.cs
- UnauthorizedWebPart.cs
- XpsSerializationManager.cs
- DecoderNLS.cs
- ApplicationHost.cs
- RangeValuePatternIdentifiers.cs
- Transaction.cs
- Effect.cs
- SamlAdvice.cs
- CharUnicodeInfo.cs
- XmlMtomReader.cs
- Vector3DAnimationUsingKeyFrames.cs
- RSAPKCS1SignatureDeformatter.cs
- EnumMember.cs
- ListViewTableRow.cs
- TreeNodeMouseHoverEvent.cs
- VisualTarget.cs
- MiniParameterInfo.cs
- Label.cs
- EastAsianLunisolarCalendar.cs
- HttpInputStream.cs
- Itemizer.cs
- codemethodreferenceexpression.cs
- CommandLineParser.cs
- PiiTraceSource.cs
- SystemIPInterfaceStatistics.cs
- WindowsClaimSet.cs
- CodeDomSerializationProvider.cs
- WpfSharedBamlSchemaContext.cs
- ServiceDescription.cs
- WizardStepBase.cs
- listitem.cs
- DefaultParameterValueAttribute.cs
- LicenseManager.cs
- diagnosticsswitches.cs
- EventLogLink.cs
- TextView.cs
- ProfileBuildProvider.cs
- UmAlQuraCalendar.cs
- NameTable.cs
- QilUnary.cs
- TreeViewAutomationPeer.cs
- SelectionPattern.cs
- RangeValueProviderWrapper.cs
- SqlException.cs
- RuntimeConfigLKG.cs
- SocketInformation.cs
- newitemfactory.cs
- ViewgenGatekeeper.cs
- Calendar.cs
- QuarticEase.cs
- IssuanceTokenProviderState.cs
- CryptoKeySecurity.cs
- __ComObject.cs
- _ContextAwareResult.cs
- Peer.cs
- DataControlHelper.cs
- StrokeNodeOperations.cs