Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertiesTab.cs
- ConcurrentStack.cs
- CopyOfAction.cs
- LocatorPartList.cs
- HybridObjectCache.cs
- XmlSchemaAppInfo.cs
- GeneralTransformGroup.cs
- XamlStream.cs
- LayoutEngine.cs
- ConfigurationValue.cs
- SqlExpander.cs
- AnnotationService.cs
- ResourceReferenceExpression.cs
- InlinedLocationReference.cs
- OleAutBinder.cs
- DataKeyCollection.cs
- TcpStreams.cs
- HttpCachePolicyElement.cs
- PageHandlerFactory.cs
- LambdaExpression.cs
- ValueOfAction.cs
- EdmToObjectNamespaceMap.cs
- OrthographicCamera.cs
- shaperfactory.cs
- PropertyDescriptor.cs
- RuleSetDialog.Designer.cs
- WorkflowApplicationCompletedEventArgs.cs
- Floater.cs
- BooleanFunctions.cs
- CompiledQueryCacheKey.cs
- SearchForVirtualItemEventArgs.cs
- TypeListConverter.cs
- DataGridViewHitTestInfo.cs
- __Filters.cs
- ValidationHelper.cs
- AddInAdapter.cs
- OleDbInfoMessageEvent.cs
- RouteParameter.cs
- WorkflowOperationAsyncResult.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TimeStampChecker.cs
- Button.cs
- DataPagerFieldItem.cs
- BrowserCapabilitiesCodeGenerator.cs
- GregorianCalendar.cs
- PersonalizationDictionary.cs
- URI.cs
- QueryOutputWriter.cs
- WebUtil.cs
- FontWeights.cs
- SmiConnection.cs
- DropShadowEffect.cs
- listviewsubitemcollectioneditor.cs
- securitymgrsite.cs
- XmlEventCache.cs
- PenLineJoinValidation.cs
- CryptographicAttribute.cs
- Rule.cs
- XDeferredAxisSource.cs
- BitmapSizeOptions.cs
- streamingZipPartStream.cs
- PolyBezierSegment.cs
- XmlDataSourceView.cs
- Panel.cs
- SendMailErrorEventArgs.cs
- ErrorStyle.cs
- HostProtectionException.cs
- SqlFunctions.cs
- HwndTarget.cs
- ProfileInfo.cs
- TdsRecordBufferSetter.cs
- QueryOutputWriter.cs
- AncillaryOps.cs
- AnnotationResource.cs
- FragmentQuery.cs
- hebrewshape.cs
- LinkedResource.cs
- StaticExtension.cs
- ResourceDisplayNameAttribute.cs
- ProviderSettingsCollection.cs
- KeyValuePair.cs
- Interop.cs
- TextCharacters.cs
- PersistenceException.cs
- SplayTreeNode.cs
- ValueProviderWrapper.cs
- StateMachine.cs
- ToolStripRenderEventArgs.cs
- CoreSwitches.cs
- AccessViolationException.cs
- DataGridColumnHeadersPresenter.cs
- DirectionalLight.cs
- XmlSchemaAppInfo.cs
- SecurityAlgorithmSuite.cs
- LinqToSqlWrapper.cs
- DbQueryCommandTree.cs
- HtmlInputControl.cs
- PublisherMembershipCondition.cs
- RectKeyFrameCollection.cs
- SqlLiftIndependentRowExpressions.cs