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
- Variable.cs
- CngAlgorithmGroup.cs
- Events.cs
- DataColumnPropertyDescriptor.cs
- SequentialOutput.cs
- EventPropertyMap.cs
- MessageBuilder.cs
- AppDomain.cs
- RemoteCryptoDecryptRequest.cs
- SingleStorage.cs
- _NegotiateClient.cs
- ProcessRequestAsyncResult.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- SchemaImporterExtensionsSection.cs
- Path.cs
- PagesChangedEventArgs.cs
- Encoder.cs
- PageTheme.cs
- ChangePassword.cs
- HtmlUtf8RawTextWriter.cs
- LocalizationComments.cs
- SafeLocalMemHandle.cs
- SystemIPInterfaceStatistics.cs
- TextBoxBase.cs
- RepeatBehavior.cs
- ParameterRefs.cs
- XPathArrayIterator.cs
- RangeBase.cs
- MouseActionValueSerializer.cs
- KeyGesture.cs
- LayoutTableCell.cs
- TokenDescriptor.cs
- DelayedRegex.cs
- TreeNodeMouseHoverEvent.cs
- EncoderBestFitFallback.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- DeviceContexts.cs
- StringSource.cs
- RegexCaptureCollection.cs
- ItemsControlAutomationPeer.cs
- NetDispatcherFaultException.cs
- ExpandableObjectConverter.cs
- SafeRightsManagementPubHandle.cs
- DataGridViewLayoutData.cs
- CompatibleIComparer.cs
- FieldAccessException.cs
- SerializationInfoEnumerator.cs
- CapabilitiesRule.cs
- AuthStoreRoleProvider.cs
- UpDownBase.cs
- PolyBezierSegmentFigureLogic.cs
- InputLanguageSource.cs
- ActivityWithResultWrapper.cs
- XmlIlVisitor.cs
- TextElementEditingBehaviorAttribute.cs
- XmlWhitespace.cs
- RichTextBox.cs
- CodeAccessSecurityEngine.cs
- RadioButtonList.cs
- Module.cs
- LinkedResource.cs
- WebPartDeleteVerb.cs
- SmiRequestExecutor.cs
- DecimalKeyFrameCollection.cs
- RequestCachePolicy.cs
- OleDbConnectionFactory.cs
- VectorAnimation.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- BlockUIContainer.cs
- VisualBrush.cs
- ObjectSecurity.cs
- InvalidateEvent.cs
- XmlQueryType.cs
- XsdDuration.cs
- ClientScriptItem.cs
- UIElement.cs
- ImageMetadata.cs
- LineMetrics.cs
- SerializableAuthorizationContext.cs
- FileChangesMonitor.cs
- TreeNodeConverter.cs
- ThreadStateException.cs
- Transform3DGroup.cs
- ReadOnlyHierarchicalDataSource.cs
- SettingsPropertyIsReadOnlyException.cs
- SrgsItemList.cs
- OwnerDrawPropertyBag.cs
- NumericUpDown.cs
- BmpBitmapDecoder.cs
- ErrorReporting.cs
- Vector3D.cs
- RegexCompilationInfo.cs
- FactoryId.cs
- InkCanvasAutomationPeer.cs
- Hash.cs
- DocumentGridPage.cs
- ProcessModule.cs
- XappLauncher.cs
- EventBuilder.cs
- IIS7WorkerRequest.cs