Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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: [....] Moved out of Application.cs to its own separate file. // 05/09/05: [....] 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
- SpecialNameAttribute.cs
- SelectingProviderEventArgs.cs
- CachingHintValidation.cs
- XmlElementList.cs
- OutputCacheModule.cs
- FormatPage.cs
- SignedInfo.cs
- OperationCanceledException.cs
- InputMethod.cs
- RangeValidator.cs
- EntityDataSourceChangingEventArgs.cs
- StrokeNodeData.cs
- HttpListenerElement.cs
- EmptyStringExpandableObjectConverter.cs
- ChameleonKey.cs
- WindowsAuthenticationEventArgs.cs
- ConstraintEnumerator.cs
- CompilerTypeWithParams.cs
- sqlcontext.cs
- CompletionCallbackWrapper.cs
- C14NUtil.cs
- DetailsView.cs
- BindingElement.cs
- DataGridViewColumn.cs
- XmlEntityReference.cs
- ReflectionHelper.cs
- DbConvert.cs
- VariableQuery.cs
- MetadataArtifactLoader.cs
- DBSqlParser.cs
- Select.cs
- TabRenderer.cs
- DateTimeConstantAttribute.cs
- HitTestResult.cs
- DiagnosticsConfigurationHandler.cs
- ShutDownListener.cs
- GeneralTransform3D.cs
- ChildDocumentBlock.cs
- TreeNodeBinding.cs
- FormViewActionList.cs
- WebChannelFactory.cs
- EntitySetBase.cs
- DataTableReaderListener.cs
- TableRow.cs
- DiscoveryDocument.cs
- ElementUtil.cs
- StickyNoteHelper.cs
- ReadOnlyDictionary.cs
- iisPickupDirectory.cs
- NumberAction.cs
- _TLSstream.cs
- DynamicHyperLink.cs
- XmlIterators.cs
- PackageFilter.cs
- ToolStripControlHost.cs
- OpenFileDialog.cs
- ScalarType.cs
- TraceInternal.cs
- mansign.cs
- CompositeDataBoundControl.cs
- XmlReaderSettings.cs
- OleDbException.cs
- UpdateCompiler.cs
- WebPartEditorCancelVerb.cs
- CompilerScopeManager.cs
- ToolStripPanelRenderEventArgs.cs
- UInt32.cs
- PatternMatcher.cs
- FakeModelPropertyImpl.cs
- DataGridViewColumnConverter.cs
- FormsAuthenticationEventArgs.cs
- GeometryHitTestParameters.cs
- WebPartsPersonalization.cs
- BinaryMethodMessage.cs
- HasActivatableWorkflowEvent.cs
- SliderAutomationPeer.cs
- WindowsFormsHost.cs
- QuaternionAnimation.cs
- IndexedDataBuffer.cs
- DbParameterHelper.cs
- SizeF.cs
- DataRelation.cs
- IsolatedStorageFileStream.cs
- DataBindingExpressionBuilder.cs
- listitem.cs
- CodeTypeReferenceExpression.cs
- IDReferencePropertyAttribute.cs
- BindableAttribute.cs
- WindowsListViewScroll.cs
- ApplicationSettingsBase.cs
- RectAnimation.cs
- DataGridSortCommandEventArgs.cs
- ColumnResizeAdorner.cs
- CompatibleComparer.cs
- EntityDataSourceWizardForm.cs
- QilStrConcat.cs
- CanonicalizationDriver.cs
- AlphabetConverter.cs
- EntityDataSourceWrapperCollection.cs
- HTTPNotFoundHandler.cs