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
- EditorZone.cs
- ReadWriteSpinLock.cs
- XmlSchemaValidationException.cs
- Matrix3DConverter.cs
- BitmapEffectDrawingContextState.cs
- XmlQualifiedNameTest.cs
- FormClosedEvent.cs
- HtmlInputReset.cs
- BitmapEffectInput.cs
- HtmlInputText.cs
- Frame.cs
- XmlDataSourceNodeDescriptor.cs
- WebProxyScriptElement.cs
- FilteredAttributeCollection.cs
- HeaderCollection.cs
- FileDialog.cs
- ConnectionPoint.cs
- MexHttpsBindingCollectionElement.cs
- PagesSection.cs
- DbgUtil.cs
- SafeHandle.cs
- SqlDelegatedTransaction.cs
- ProviderSettingsCollection.cs
- CustomErrorCollection.cs
- FormsAuthenticationEventArgs.cs
- listviewsubitemcollectioneditor.cs
- PolyBezierSegment.cs
- DbReferenceCollection.cs
- recordstatescratchpad.cs
- ResolvePPIDRequest.cs
- DecimalAnimation.cs
- CommonProperties.cs
- ExpressionTextBox.xaml.cs
- RemotingClientProxy.cs
- UmAlQuraCalendar.cs
- ImageCodecInfo.cs
- DataBindingHandlerAttribute.cs
- SizeChangedInfo.cs
- SelfIssuedAuthRSACryptoProvider.cs
- AxisAngleRotation3D.cs
- LightweightEntityWrapper.cs
- SID.cs
- Style.cs
- ListViewItem.cs
- DataControlPagerLinkButton.cs
- ScrollBarRenderer.cs
- ColumnResizeAdorner.cs
- DefaultCommandConverter.cs
- HotCommands.cs
- Geometry3D.cs
- GridViewDeletedEventArgs.cs
- HttpAsyncResult.cs
- HttpCapabilitiesEvaluator.cs
- CircleHotSpot.cs
- UnsafeNativeMethods.cs
- ObjectSet.cs
- ReadOnlyHierarchicalDataSource.cs
- CheckBox.cs
- DragDeltaEventArgs.cs
- _SslStream.cs
- SchemaImporterExtensionsSection.cs
- DynamicRenderer.cs
- HashAlgorithm.cs
- baseshape.cs
- EntityWrapperFactory.cs
- Delegate.cs
- QueryContinueDragEvent.cs
- TraceHandler.cs
- MetadataSerializer.cs
- GlyphingCache.cs
- EdmFunction.cs
- ResourceContainerWrapper.cs
- ServiceInfo.cs
- Button.cs
- HttpFileCollectionWrapper.cs
- Border.cs
- DataTable.cs
- ConnectivityStatus.cs
- TiffBitmapEncoder.cs
- CharacterBuffer.cs
- ColorInterpolationModeValidation.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Utility.cs
- TextRunTypographyProperties.cs
- ConnectAlgorithms.cs
- PathGeometry.cs
- IIS7WorkerRequest.cs
- AttributeProviderAttribute.cs
- Point3DKeyFrameCollection.cs
- FixedDocumentSequencePaginator.cs
- DomNameTable.cs
- PathGradientBrush.cs
- InertiaRotationBehavior.cs
- UseLicense.cs
- HttpWrapper.cs
- XPathChildIterator.cs
- ProfileBuildProvider.cs
- UInt16.cs
- Point4D.cs
- DataServiceExpressionVisitor.cs