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
- RadioButtonRenderer.cs
- ToolConsole.cs
- DataServiceExpressionVisitor.cs
- SchemaTypeEmitter.cs
- TwoPhaseCommit.cs
- XamlSerializerUtil.cs
- NotSupportedException.cs
- OleDbMetaDataFactory.cs
- InkCanvasAutomationPeer.cs
- ASCIIEncoding.cs
- DataGridItemCollection.cs
- RayMeshGeometry3DHitTestResult.cs
- TransactionScopeDesigner.cs
- EmbeddedMailObjectsCollection.cs
- DebugControllerThread.cs
- TableItemPattern.cs
- SessionEndingCancelEventArgs.cs
- XmlSchemaAnyAttribute.cs
- ValidationService.cs
- ControlIdConverter.cs
- Shared.cs
- MatrixKeyFrameCollection.cs
- TextDpi.cs
- ToolStripPanelDesigner.cs
- AssertHelper.cs
- RemotingConfiguration.cs
- DeferredElementTreeState.cs
- DataRelationPropertyDescriptor.cs
- QilXmlWriter.cs
- ContainsRowNumberChecker.cs
- SessionState.cs
- BitmapEffect.cs
- odbcmetadatafactory.cs
- DataBinding.cs
- ValidatedControlConverter.cs
- namescope.cs
- KeyConverter.cs
- ModelProperty.cs
- SoapReflector.cs
- DecoderReplacementFallback.cs
- ResourcesChangeInfo.cs
- ObjectManager.cs
- Debug.cs
- WebPartCatalogCloseVerb.cs
- BitmapCacheBrush.cs
- LogicalChannel.cs
- ActivitySurrogateSelector.cs
- MarkupExtensionParser.cs
- ImagingCache.cs
- TextContainerHelper.cs
- InheritanceContextHelper.cs
- ToolBar.cs
- MatrixTransform.cs
- Interlocked.cs
- InputScopeAttribute.cs
- KeyProperty.cs
- SpeechRecognizer.cs
- ModelItem.cs
- AsymmetricSignatureDeformatter.cs
- DelegatedStream.cs
- XmlAutoDetectWriter.cs
- PropertyManager.cs
- UpDownEvent.cs
- UnsettableComboBox.cs
- ListBindableAttribute.cs
- MethodBody.cs
- DataColumn.cs
- DesignRelation.cs
- OracleParameter.cs
- GiveFeedbackEvent.cs
- OperationResponse.cs
- WindowsToolbarAsMenu.cs
- DynamicDataExtensions.cs
- BaseParaClient.cs
- CodeCommentStatementCollection.cs
- X509Utils.cs
- HttpListenerPrefixCollection.cs
- TdsValueSetter.cs
- TaskCanceledException.cs
- PeerService.cs
- ScopedKnownTypes.cs
- ArrangedElementCollection.cs
- RoleExceptions.cs
- SessionSwitchEventArgs.cs
- DateTimeAutomationPeer.cs
- TransportChannelListener.cs
- CellConstantDomain.cs
- PagePropertiesChangingEventArgs.cs
- WebPartDescriptionCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- _Semaphore.cs
- TextRenderer.cs
- QuestionEventArgs.cs
- MetadataProperty.cs
- DesignerForm.cs
- ThreadAttributes.cs
- WebResponse.cs
- TreeView.cs
- TreeWalker.cs
- DataBoundControlDesigner.cs