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
- ExpressionNode.cs
- UnhandledExceptionEventArgs.cs
- SynchronizedInputHelper.cs
- SqlInternalConnection.cs
- BasePropertyDescriptor.cs
- GridViewRowPresenter.cs
- ClientScriptManager.cs
- XamlDesignerSerializationManager.cs
- BitmapImage.cs
- SemanticAnalyzer.cs
- Menu.cs
- EntityDesignerUtils.cs
- TableRowGroupCollection.cs
- SvcMapFileLoader.cs
- UiaCoreApi.cs
- SqlTransaction.cs
- ControllableStoryboardAction.cs
- AlternateViewCollection.cs
- UnaryNode.cs
- DesignBindingEditor.cs
- HtmlInputRadioButton.cs
- CapabilitiesSection.cs
- DesignerActionItem.cs
- Executor.cs
- WindowsListViewItemStartMenu.cs
- ColumnMapTranslator.cs
- GetPageNumberCompletedEventArgs.cs
- SqlCacheDependencyDatabase.cs
- CodeMethodReturnStatement.cs
- Pen.cs
- UrlRoutingModule.cs
- SQLBytesStorage.cs
- RawStylusActions.cs
- ConnectionConsumerAttribute.cs
- SingleKeyFrameCollection.cs
- ParameterToken.cs
- ObfuscateAssemblyAttribute.cs
- BitmapFrame.cs
- XamlSerializer.cs
- GcSettings.cs
- ListComponentEditorPage.cs
- AssemblySettingAttributes.cs
- BCLDebug.cs
- Pair.cs
- TransactionsSectionGroup.cs
- HeaderedItemsControl.cs
- DynamicResourceExtension.cs
- InvokeHandlers.cs
- ArrayConverter.cs
- NonSerializedAttribute.cs
- ConnectionPool.cs
- Debug.cs
- DataFormats.cs
- connectionpool.cs
- ExpressionBindingCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- InvalidEnumArgumentException.cs
- ConfigXmlElement.cs
- DbConnectionPoolCounters.cs
- TypeDescriptor.cs
- ThreadStateException.cs
- CursorConverter.cs
- ScalarRestriction.cs
- TextModifier.cs
- SizeAnimationClockResource.cs
- CodeAttachEventStatement.cs
- PolicyChain.cs
- DockPanel.cs
- QueueSurrogate.cs
- SpecialNameAttribute.cs
- WebBaseEventKeyComparer.cs
- IncomingWebResponseContext.cs
- PropertyChange.cs
- SqlCacheDependencySection.cs
- MethodSet.cs
- OneOfElement.cs
- BitmapEffectInput.cs
- TemplateField.cs
- CalendarDay.cs
- TemplateKey.cs
- Adorner.cs
- SmtpReplyReaderFactory.cs
- GroupDescription.cs
- ConnectivityStatus.cs
- Queue.cs
- TaskbarItemInfo.cs
- ForeignKeyFactory.cs
- CultureSpecificCharacterBufferRange.cs
- Speller.cs
- BaseInfoTable.cs
- PassportAuthenticationEventArgs.cs
- ProcessHostConfigUtils.cs
- ListViewInsertEventArgs.cs
- ImageBrush.cs
- ObjectHelper.cs
- FixUpCollection.cs
- LowerCaseStringConverter.cs
- ActivityCompletionCallbackWrapper.cs
- DrawListViewSubItemEventArgs.cs
- WebBrowserContainer.cs