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
- XmlElementElementCollection.cs
- Lock.cs
- ContextStaticAttribute.cs
- DesignerSerializationManager.cs
- SQLUtility.cs
- HitTestParameters3D.cs
- AutomationPatternInfo.cs
- DataGridViewCellStyleBuilderDialog.cs
- TextServicesContext.cs
- DataObject.cs
- QueryCacheManager.cs
- HMACMD5.cs
- SqlMetaData.cs
- PolyLineSegmentFigureLogic.cs
- DbUpdateCommandTree.cs
- QuadraticBezierSegment.cs
- FileSystemInfo.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ConversionHelper.cs
- InputBinder.cs
- LogWriteRestartAreaState.cs
- diagnosticsswitches.cs
- PageContent.cs
- AnnotationHighlightLayer.cs
- Convert.cs
- UnicodeEncoding.cs
- PreviewPrintController.cs
- IdentityHolder.cs
- CompiledQuery.cs
- PageTheme.cs
- BrowserCapabilitiesFactory35.cs
- ItemAutomationPeer.cs
- ReceiveSecurityHeaderElementManager.cs
- SoapObjectWriter.cs
- DataGridViewRowPostPaintEventArgs.cs
- MenuItem.cs
- SoapBinding.cs
- SpeechRecognizer.cs
- OracleCommandSet.cs
- InvalidComObjectException.cs
- CheckBoxField.cs
- ObjectManager.cs
- Hyperlink.cs
- WindowCollection.cs
- UserPreferenceChangingEventArgs.cs
- FunctionDetailsReader.cs
- MediaPlayer.cs
- BehaviorDragDropEventArgs.cs
- WsatServiceCertificate.cs
- StartUpEventArgs.cs
- Matrix.cs
- CustomAttributeBuilder.cs
- CodeTypeParameter.cs
- Boolean.cs
- RepeaterCommandEventArgs.cs
- Operators.cs
- TreeViewCancelEvent.cs
- SpeakCompletedEventArgs.cs
- TypeUnloadedException.cs
- SafeNativeMethods.cs
- DefaultValueMapping.cs
- PhysicalAddress.cs
- TimelineGroup.cs
- HostExecutionContextManager.cs
- Block.cs
- TdsParameterSetter.cs
- Focus.cs
- EventProviderTraceListener.cs
- ImageDrawing.cs
- NameService.cs
- BinaryReader.cs
- BindToObject.cs
- TextPattern.cs
- ControlPaint.cs
- DBCommand.cs
- InternalTypeHelper.cs
- WindowsPrincipal.cs
- ListBoxAutomationPeer.cs
- DesignerActionHeaderItem.cs
- FixedPage.cs
- ListItemCollection.cs
- XPathDescendantIterator.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- ServiceModelEnumValidatorAttribute.cs
- FixedSOMSemanticBox.cs
- MimeFormatter.cs
- DataGridViewLinkCell.cs
- NegationPusher.cs
- ActiveXHelper.cs
- Lease.cs
- TextLineBreak.cs
- LocatorPart.cs
- SQLInt32Storage.cs
- TaskScheduler.cs
- TextSegment.cs
- X509ServiceCertificateAuthentication.cs
- CornerRadiusConverter.cs
- WebPartConnectVerb.cs
- ViewValidator.cs
- UnknownBitmapDecoder.cs