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
- DynamicDiscoveryDocument.cs
- GlyphTypeface.cs
- ProviderManager.cs
- AppDomainFactory.cs
- odbcmetadatafactory.cs
- CallbackTimeoutsBehavior.cs
- NameTable.cs
- ObjectListCommandEventArgs.cs
- Latin1Encoding.cs
- CustomActivityDesigner.cs
- ListViewDeleteEventArgs.cs
- coordinatorfactory.cs
- ButtonRenderer.cs
- MenuAdapter.cs
- DetailsViewInsertedEventArgs.cs
- DependencyObjectType.cs
- AutomationAttributeInfo.cs
- CodeTypeReferenceExpression.cs
- ColumnMapTranslator.cs
- ValueTable.cs
- ValidationResult.cs
- ListBoxItemAutomationPeer.cs
- DbModificationClause.cs
- SerializationInfoEnumerator.cs
- TextHidden.cs
- SortedList.cs
- SafeHandle.cs
- XmlDataSourceView.cs
- SignatureGenerator.cs
- UIElementParagraph.cs
- XPathNodeList.cs
- XPathScanner.cs
- CompModSwitches.cs
- BufferModesCollection.cs
- Triangle.cs
- SafeProcessHandle.cs
- ClientSession.cs
- FixedTextPointer.cs
- SecurityKeyUsage.cs
- GeneralTransform3D.cs
- ScrollData.cs
- BooleanSwitch.cs
- HtmlButton.cs
- DeploymentSectionCache.cs
- BufferBuilder.cs
- FileAccessException.cs
- Translator.cs
- UICuesEvent.cs
- SystemKeyConverter.cs
- Int64Converter.cs
- SQLChars.cs
- SpanIndex.cs
- CalculatedColumn.cs
- GZipStream.cs
- HwndStylusInputProvider.cs
- ClassicBorderDecorator.cs
- AppDomainFactory.cs
- Win32SafeHandles.cs
- IncomingWebResponseContext.cs
- GlyphInfoList.cs
- SHA256CryptoServiceProvider.cs
- CompilationRelaxations.cs
- StartFileNameEditor.cs
- ScalarType.cs
- TextAction.cs
- WebHttpDispatchOperationSelector.cs
- SoapDocumentMethodAttribute.cs
- PathStreamGeometryContext.cs
- ZipFileInfoCollection.cs
- CollectionEditVerbManager.cs
- SynchronizedDispatch.cs
- TrustExchangeException.cs
- GeneralTransform3D.cs
- AssociationType.cs
- CornerRadiusConverter.cs
- DataGridViewTextBoxColumn.cs
- SqlBulkCopyColumnMapping.cs
- CodeNamespaceCollection.cs
- EntityDataSourceViewSchema.cs
- KeyTime.cs
- IncrementalReadDecoders.cs
- HierarchicalDataBoundControl.cs
- CommandID.cs
- GradientStopCollection.cs
- Dynamic.cs
- BaseValidator.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- QilSortKey.cs
- EnumerationRangeValidationUtil.cs
- XsdBuilder.cs
- CannotUnloadAppDomainException.cs
- StylusButtonEventArgs.cs
- SqlServices.cs
- Attributes.cs
- EntityEntry.cs
- Single.cs
- RotateTransform3D.cs
- ClientSponsor.cs
- MailMessageEventArgs.cs
- ManifestResourceInfo.cs