Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- FontFamilyConverter.cs
- BindingSourceDesigner.cs
- commandenforcer.cs
- AssociationSet.cs
- BitmapEffectCollection.cs
- StreamGeometry.cs
- CustomLineCap.cs
- PeerTransportElement.cs
- XmlSchemaInfo.cs
- OuterGlowBitmapEffect.cs
- PhysicalAddress.cs
- DataBoundControlHelper.cs
- SecureEnvironment.cs
- SimpleFieldTemplateFactory.cs
- Transform3D.cs
- ListItemCollection.cs
- UserControlCodeDomTreeGenerator.cs
- ColorKeyFrameCollection.cs
- propertyentry.cs
- HttpConfigurationContext.cs
- TimeSpanMinutesConverter.cs
- CustomTypeDescriptor.cs
- SpanIndex.cs
- BrushMappingModeValidation.cs
- WindowInteropHelper.cs
- ReverseInheritProperty.cs
- RotateTransform.cs
- CodeNamespaceImportCollection.cs
- EntityDataSourceColumn.cs
- XmlSerializableWriter.cs
- ToolStripSeparatorRenderEventArgs.cs
- DynamicHyperLink.cs
- MimeFormatExtensions.cs
- HttpCacheVary.cs
- PrivateFontCollection.cs
- SqlTransaction.cs
- SqlDataReader.cs
- PieceNameHelper.cs
- PackagePart.cs
- AutoCompleteStringCollection.cs
- GroupBoxAutomationPeer.cs
- XMLSchema.cs
- WebReferencesBuildProvider.cs
- GraphicsPathIterator.cs
- ConvertTextFrag.cs
- MergeFailedEvent.cs
- RequestSecurityToken.cs
- AuthorizationRuleCollection.cs
- ControlAdapter.cs
- StandardOleMarshalObject.cs
- TimeSpanMinutesConverter.cs
- StreamReader.cs
- OutputCacheProviderCollection.cs
- SoapCodeExporter.cs
- ProjectionNode.cs
- GradientPanel.cs
- DataSourceCache.cs
- SafeThreadHandle.cs
- WebContext.cs
- ConfigXmlWhitespace.cs
- JsonEncodingStreamWrapper.cs
- PartialList.cs
- EntityAdapter.cs
- ConstraintEnumerator.cs
- FrugalList.cs
- CategoryGridEntry.cs
- ViewUtilities.cs
- LineInfo.cs
- TreeNodeStyle.cs
- SubclassTypeValidator.cs
- Column.cs
- RefType.cs
- GridItemPattern.cs
- Reference.cs
- ADRole.cs
- RawStylusInputCustomData.cs
- DbUpdateCommandTree.cs
- DirectoryInfo.cs
- GradientSpreadMethodValidation.cs
- EventLogEntryCollection.cs
- DataServiceQueryOfT.cs
- ObjectCacheSettings.cs
- TdsParameterSetter.cs
- TextBox.cs
- shaper.cs
- WeakKeyDictionary.cs
- HyperLinkStyle.cs
- ScriptResourceInfo.cs
- RequestTimeoutManager.cs
- ProvideValueServiceProvider.cs
- Collection.cs
- JavaScriptString.cs
- CellNormalizer.cs
- DataRelationPropertyDescriptor.cs
- ResXFileRef.cs
- WebEvents.cs
- OleDbException.cs
- IRCollection.cs
- ClientViaElement.cs
- KeyGestureConverter.cs