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
- SatelliteContractVersionAttribute.cs
- WebPartConnectionsCancelEventArgs.cs
- ToolBarPanel.cs
- ObjectAssociationEndMapping.cs
- SoapIgnoreAttribute.cs
- CompositeCollection.cs
- Schema.cs
- IFlowDocumentViewer.cs
- BitmapEffectDrawingContextState.cs
- ReflectionUtil.cs
- ContextBase.cs
- TextDecoration.cs
- EntityDataSourceState.cs
- MatrixConverter.cs
- String.cs
- Constraint.cs
- XmlSchemaAny.cs
- ButtonBaseAutomationPeer.cs
- DocumentGridContextMenu.cs
- RegexParser.cs
- RtType.cs
- WebPartConnectionsCancelVerb.cs
- SqlFacetAttribute.cs
- ErrorTolerantObjectWriter.cs
- MapPathBasedVirtualPathProvider.cs
- LinkedResource.cs
- TdsEnums.cs
- RenderContext.cs
- TemplateInstanceAttribute.cs
- DurableServiceAttribute.cs
- DateTimeStorage.cs
- COAUTHIDENTITY.cs
- Storyboard.cs
- DLinqAssociationProvider.cs
- DefaultTraceListener.cs
- NotFiniteNumberException.cs
- CellParagraph.cs
- ValueTypePropertyReference.cs
- PasswordRecovery.cs
- QueryResponse.cs
- GridViewDeletedEventArgs.cs
- httpstaticobjectscollection.cs
- StrokeNodeEnumerator.cs
- GPRECTF.cs
- WebServiceHost.cs
- AuthenticationService.cs
- DataTableCollection.cs
- ConfigXmlElement.cs
- BindingOperations.cs
- NonClientArea.cs
- ListControl.cs
- wgx_exports.cs
- ADConnectionHelper.cs
- SynchronizedInputHelper.cs
- RequestContext.cs
- SurrogateSelector.cs
- ADRoleFactoryConfiguration.cs
- TrustSection.cs
- PreProcessor.cs
- Button.cs
- EventProviderTraceListener.cs
- FixUpCollection.cs
- GenericAuthenticationEventArgs.cs
- DataConnectionHelper.cs
- TextTreeUndoUnit.cs
- ControlLocalizer.cs
- SpecialFolderEnumConverter.cs
- SoapFault.cs
- HostProtectionException.cs
- PerspectiveCamera.cs
- TextDecoration.cs
- XmlCompatibilityReader.cs
- WorkflowMessageEventArgs.cs
- CacheRequest.cs
- FontDialog.cs
- AvtEvent.cs
- EntityDataSourceMemberPath.cs
- SqlDataAdapter.cs
- ExpressionSelection.cs
- ActiveXMessageFormatter.cs
- StrokeDescriptor.cs
- TargetFrameworkUtil.cs
- BaseTemplateBuildProvider.cs
- ChineseLunisolarCalendar.cs
- XmlAttributes.cs
- ConsoleTraceListener.cs
- Camera.cs
- FromReply.cs
- XamlSerializerUtil.cs
- CookieHandler.cs
- TrackingMemoryStreamFactory.cs
- VBIdentifierDesigner.xaml.cs
- WindowCollection.cs
- InvokeHandlers.cs
- WebHttpEndpoint.cs
- XmlWrappingReader.cs
- XPathBinder.cs
- XsltConvert.cs
- CommandExpr.cs
- AuthenticationModuleElement.cs