Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- HttpModuleCollection.cs
- NetSectionGroup.cs
- ImportCatalogPart.cs
- StickyNoteAnnotations.cs
- DecoderNLS.cs
- SecurityUtils.cs
- SerialReceived.cs
- DebugView.cs
- DefaultBindingPropertyAttribute.cs
- WeakRefEnumerator.cs
- TableCell.cs
- FileDialogCustomPlacesCollection.cs
- AccessorTable.cs
- PrinterUnitConvert.cs
- SynchronizingStream.cs
- HttpFileCollection.cs
- ListViewItemSelectionChangedEvent.cs
- path.cs
- SoundPlayer.cs
- sqlser.cs
- SecurityPolicySection.cs
- TextServicesManager.cs
- SqlDataSource.cs
- DispatchChannelSink.cs
- ComponentChangingEvent.cs
- EntityDesignerDataSourceView.cs
- ObjectDataSourceDesigner.cs
- Glyph.cs
- DefaultValueConverter.cs
- DataObjectCopyingEventArgs.cs
- ObjectToken.cs
- PersonalizablePropertyEntry.cs
- Perspective.cs
- WebBaseEventKeyComparer.cs
- ParameterBuilder.cs
- SoundPlayerAction.cs
- ParserHooks.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ToolStripLocationCancelEventArgs.cs
- XmlSerializationWriter.cs
- CalendarKeyboardHelper.cs
- RuntimeWrappedException.cs
- XmlSerializationReader.cs
- ProfileInfo.cs
- MexTcpBindingElement.cs
- SqlAggregateChecker.cs
- EventLogLink.cs
- MergablePropertyAttribute.cs
- VisualProxy.cs
- DoubleAnimationUsingKeyFrames.cs
- DbCommandDefinition.cs
- ColumnHeader.cs
- PartitionedDataSource.cs
- Stylesheet.cs
- RedirectionProxy.cs
- ValueType.cs
- DeclarationUpdate.cs
- WindowsTreeView.cs
- CollectionConverter.cs
- ToolStripDesignerAvailabilityAttribute.cs
- UxThemeWrapper.cs
- XmlSchemaException.cs
- PeerTransportListenAddressConverter.cs
- QuadraticEase.cs
- AmbientProperties.cs
- Property.cs
- TextElementEditingBehaviorAttribute.cs
- DataGridCommandEventArgs.cs
- DataControlField.cs
- InstallerTypeAttribute.cs
- DependencyPropertyDescriptor.cs
- Utility.cs
- ReadOnlyAttribute.cs
- TreeNodeSelectionProcessor.cs
- UIElement3DAutomationPeer.cs
- GrammarBuilderPhrase.cs
- CompiledIdentityConstraint.cs
- NonSerializedAttribute.cs
- MultiSelector.cs
- MergablePropertyAttribute.cs
- CmsUtils.cs
- PieceDirectory.cs
- DataGridViewButtonCell.cs
- StrongName.cs
- XMLSyntaxException.cs
- ToolConsole.cs
- MailHeaderInfo.cs
- Command.cs
- GridViewEditEventArgs.cs
- AccessDataSourceView.cs
- Command.cs
- ButtonField.cs
- CheckableControlBaseAdapter.cs
- HostProtectionException.cs
- MemberRelationshipService.cs
- ResourceIDHelper.cs
- WindowsSecurityTokenAuthenticator.cs
- OleDbRowUpdatedEvent.cs
- CheckBoxRenderer.cs
- PostBackTrigger.cs