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
- XmlEntity.cs
- CodeAttributeArgument.cs
- FieldDescriptor.cs
- SQLResource.cs
- XmlElementAttributes.cs
- XmlAttributeCollection.cs
- FunctionQuery.cs
- Point4D.cs
- FieldToken.cs
- SerializationHelper.cs
- DesignerOptionService.cs
- X509Utils.cs
- UnionCqlBlock.cs
- HwndSourceKeyboardInputSite.cs
- MemberDomainMap.cs
- ChangeNode.cs
- Vector3DValueSerializer.cs
- DragDrop.cs
- TrustManager.cs
- PropertyEmitterBase.cs
- ConnectionInterfaceCollection.cs
- SaveFileDialog.cs
- DeploymentSectionCache.cs
- PersonalizationState.cs
- CodeGeneratorOptions.cs
- odbcmetadatacollectionnames.cs
- XmlnsCache.cs
- ScrollableControl.cs
- XmlProcessingInstruction.cs
- CryptoHelper.cs
- ConstraintEnumerator.cs
- XmlCharCheckingReader.cs
- SessionParameter.cs
- SqlNotificationRequest.cs
- InputMethod.cs
- WindowsIdentity.cs
- XmlArrayItemAttributes.cs
- UnmanagedMarshal.cs
- SqlProvider.cs
- RuleSettings.cs
- FocusManager.cs
- AsynchronousChannel.cs
- MessageSmuggler.cs
- SharedConnectionWorkflowTransactionService.cs
- GPPOINTF.cs
- ButtonColumn.cs
- ErrorRuntimeConfig.cs
- XmlBoundElement.cs
- ConfigXmlDocument.cs
- XmlSchemaProviderAttribute.cs
- MarginsConverter.cs
- DataGridDetailsPresenter.cs
- CopyCodeAction.cs
- XslTransform.cs
- WizardStepCollectionEditor.cs
- LassoHelper.cs
- SuppressMessageAttribute.cs
- ResourceManager.cs
- CreateUserWizardStep.cs
- QuaternionRotation3D.cs
- MappingException.cs
- XmlSchemaAttribute.cs
- DesignerHost.cs
- ExecutionEngineException.cs
- TargetException.cs
- EntityDataSource.cs
- MetadataProperty.cs
- AndCondition.cs
- SAPIEngineTypes.cs
- Signature.cs
- CustomPeerResolverService.cs
- JsonDeserializer.cs
- DateTimeOffsetStorage.cs
- HandlerWithFactory.cs
- QEncodedStream.cs
- ElementAction.cs
- TreeChangeInfo.cs
- BaseTreeIterator.cs
- FrugalList.cs
- PropertyEmitter.cs
- DataSourceHelper.cs
- WebPartAddingEventArgs.cs
- LogRestartAreaEnumerator.cs
- ProjectedSlot.cs
- XmlSignificantWhitespace.cs
- ModelItemDictionaryImpl.cs
- XsdBuildProvider.cs
- ServerIdentity.cs
- PingOptions.cs
- InvalidWMPVersionException.cs
- Serializer.cs
- FieldBuilder.cs
- ListenerConstants.cs
- ServiceOperation.cs
- OleDbRowUpdatingEvent.cs
- AutoScrollHelper.cs
- AnnotationComponentManager.cs
- ClientApiGenerator.cs
- BitmapEffectRenderDataResource.cs
- SerialPinChanges.cs