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
- DiagnosticTrace.cs
- EditorAttribute.cs
- ItemsControlAutomationPeer.cs
- StorageEntitySetMapping.cs
- BamlRecordHelper.cs
- SortDescriptionCollection.cs
- RijndaelManagedTransform.cs
- WebControl.cs
- PromptEventArgs.cs
- StateDesignerConnector.cs
- SamlEvidence.cs
- ResourceReferenceKeyNotFoundException.cs
- MissingMemberException.cs
- WebMessageEncoderFactory.cs
- BaseServiceProvider.cs
- _StreamFramer.cs
- OleAutBinder.cs
- KeyValueConfigurationElement.cs
- CollectionChangedEventManager.cs
- SurrogateEncoder.cs
- PipeStream.cs
- RightNameExpirationInfoPair.cs
- AppSettingsSection.cs
- ADMembershipUser.cs
- TextRunTypographyProperties.cs
- KnownBoxes.cs
- RoutedPropertyChangedEventArgs.cs
- ObjectDataSourceEventArgs.cs
- DeviceSpecificChoice.cs
- GridViewCancelEditEventArgs.cs
- Context.cs
- DurableTimerExtension.cs
- TextEvent.cs
- Tuple.cs
- WebService.cs
- SplitterPanel.cs
- ArcSegment.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ViewUtilities.cs
- GrammarBuilderRuleRef.cs
- ArgumentDesigner.xaml.cs
- SamlAttribute.cs
- SettingsAttributes.cs
- LineBreakRecord.cs
- PropertyInformationCollection.cs
- Int32Storage.cs
- RowType.cs
- CurrencyManager.cs
- TableSectionStyle.cs
- HyperLinkStyle.cs
- BitStack.cs
- Point3DAnimationBase.cs
- LineGeometry.cs
- XamlToRtfParser.cs
- NamedObject.cs
- NativeMethods.cs
- StringComparer.cs
- MachineKeyConverter.cs
- DataGridViewEditingControlShowingEventArgs.cs
- PrintControllerWithStatusDialog.cs
- UnauthorizedWebPart.cs
- ConnectionPool.cs
- HideDisabledControlAdapter.cs
- MemberMaps.cs
- IISUnsafeMethods.cs
- DataReceivedEventArgs.cs
- PeerCollaborationPermission.cs
- PagerSettings.cs
- DbConnectionOptions.cs
- SqlAliaser.cs
- MachineKeyConverter.cs
- FigureHelper.cs
- MaterialGroup.cs
- ApplicationServiceManager.cs
- Geometry3D.cs
- AllMembershipCondition.cs
- ProcessModuleCollection.cs
- Tuple.cs
- DataGridRowsPresenter.cs
- XNodeNavigator.cs
- ListViewDataItem.cs
- log.cs
- WindowsListViewItemStartMenu.cs
- HyperLink.cs
- SelectionPattern.cs
- GridViewCancelEditEventArgs.cs
- GroupStyle.cs
- ListParagraph.cs
- DataGridViewComboBoxCell.cs
- LinqDataSourceView.cs
- BitmapCache.cs
- Bezier.cs
- DynamicActivityProperty.cs
- HierarchicalDataTemplate.cs
- DataTableNameHandler.cs
- SyncMethodInvoker.cs
- XmlILOptimizerVisitor.cs
- EraserBehavior.cs
- ValidationEventArgs.cs
- UnsignedPublishLicense.cs