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
- TypeTypeConverter.cs
- VariableExpressionConverter.cs
- ImportDesigner.xaml.cs
- InternalCompensate.cs
- NativeWindow.cs
- Viewport3DAutomationPeer.cs
- HiddenField.cs
- SqlProvider.cs
- ExtensionDataReader.cs
- DomainUpDown.cs
- DataTablePropertyDescriptor.cs
- COM2PropertyDescriptor.cs
- HttpInputStream.cs
- OdbcEnvironment.cs
- PolyLineSegment.cs
- COM2Properties.cs
- followingsibling.cs
- webeventbuffer.cs
- DataViewListener.cs
- ShaperBuffers.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- _LoggingObject.cs
- InputReferenceExpression.cs
- DataKeyCollection.cs
- Selection.cs
- ClientSponsor.cs
- TextDecorationCollection.cs
- COSERVERINFO.cs
- PartialClassGenerationTaskInternal.cs
- WindowsListBox.cs
- DeclarativeCatalogPart.cs
- CellConstantDomain.cs
- PeerCollaborationPermission.cs
- AsymmetricAlgorithm.cs
- TableLayoutStyle.cs
- CodeGenHelper.cs
- BaseCAMarshaler.cs
- ImageButton.cs
- OleCmdHelper.cs
- MultipartContentParser.cs
- CodeLinePragma.cs
- SQLRoleProvider.cs
- Table.cs
- HtmlForm.cs
- WebPartMovingEventArgs.cs
- SizeAnimation.cs
- ComponentConverter.cs
- HttpCachePolicy.cs
- WebBrowserUriTypeConverter.cs
- Error.cs
- diagnosticsswitches.cs
- PageAsyncTask.cs
- Permission.cs
- SqlDataAdapter.cs
- OleDbParameter.cs
- Trace.cs
- InfiniteTimeSpanConverter.cs
- Visitors.cs
- CheckBoxPopupAdapter.cs
- WorkflowHostingEndpoint.cs
- PropertyToken.cs
- WindowsBrush.cs
- PlainXmlSerializer.cs
- ReverseInheritProperty.cs
- ConfigurationManagerHelper.cs
- CompilerGlobalScopeAttribute.cs
- FrameworkObject.cs
- documentsequencetextpointer.cs
- VisualTreeUtils.cs
- ComboBox.cs
- UserControl.cs
- ApplicationInfo.cs
- UInt16Converter.cs
- MouseButton.cs
- EdmComplexPropertyAttribute.cs
- SlipBehavior.cs
- ListControl.cs
- PermissionSetEnumerator.cs
- NominalTypeEliminator.cs
- ColumnResult.cs
- IsolatedStorageException.cs
- DesignerResources.cs
- GatewayIPAddressInformationCollection.cs
- EqualityComparer.cs
- SapiGrammar.cs
- CheckBoxStandardAdapter.cs
- TTSEngineTypes.cs
- RelationshipConverter.cs
- ListParaClient.cs
- _RequestCacheProtocol.cs
- sqlpipe.cs
- ToolStripContentPanelDesigner.cs
- TimerElapsedEvenArgs.cs
- TraceSection.cs
- SerializationSectionGroup.cs
- AuthenticationModuleElementCollection.cs
- DefaultPrintController.cs
- MatrixAnimationUsingPath.cs
- Zone.cs
- TPLETWProvider.cs