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
- XPathSelectionIterator.cs
- GridLengthConverter.cs
- TextDecorationUnitValidation.cs
- PathSegment.cs
- PointConverter.cs
- FileLogRecordHeader.cs
- PeerName.cs
- ColumnCollection.cs
- DeviceContexts.cs
- Debug.cs
- HttpClientCertificate.cs
- ThreadStartException.cs
- SqlDependency.cs
- NullExtension.cs
- AmbientLight.cs
- ImportContext.cs
- InvalidCastException.cs
- PKCS1MaskGenerationMethod.cs
- SiteMapDataSourceView.cs
- WebPartZone.cs
- ExpressionList.cs
- RegionInfo.cs
- XmlReturnReader.cs
- OleDbParameterCollection.cs
- PersistChildrenAttribute.cs
- SrgsElementFactoryCompiler.cs
- BamlReader.cs
- DocumentApplicationJournalEntryEventArgs.cs
- PageRanges.cs
- SafeNativeMethodsOther.cs
- Root.cs
- ReadContentAsBinaryHelper.cs
- TTSEngineProxy.cs
- TransactionsSectionGroup.cs
- Attachment.cs
- FragmentNavigationEventArgs.cs
- Vector.cs
- EventSetter.cs
- DataGridTable.cs
- OdbcInfoMessageEvent.cs
- ToolStripDropDownClosingEventArgs.cs
- TextEditorContextMenu.cs
- PseudoWebRequest.cs
- KerberosTokenFactoryCredential.cs
- Blend.cs
- DecimalKeyFrameCollection.cs
- ComboBox.cs
- TypedAsyncResult.cs
- ValidatorCollection.cs
- basecomparevalidator.cs
- AttachmentService.cs
- NativeMethods.cs
- CompilerGeneratedAttribute.cs
- StreamReader.cs
- EventSetter.cs
- MultipleViewPattern.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ColumnMap.cs
- ParagraphResult.cs
- SQLByte.cs
- HttpChannelBindingToken.cs
- AsmxEndpointPickerExtension.cs
- MatrixAnimationUsingPath.cs
- ChangeBlockUndoRecord.cs
- LocalizedNameDescriptionPair.cs
- XmlConvert.cs
- ChannelPoolSettings.cs
- TemplateBamlTreeBuilder.cs
- ServicePoint.cs
- IndicShape.cs
- StorageMappingItemCollection.cs
- TaskHelper.cs
- HttpConfigurationContext.cs
- StateDesigner.Layouts.cs
- DuplexChannelFactory.cs
- SettingsBase.cs
- TypeKeyValue.cs
- TeredoHelper.cs
- SqlUnionizer.cs
- FormParameter.cs
- DispatchChannelSink.cs
- AutomationPatternInfo.cs
- ObjectItemCollection.cs
- ResumeStoryboard.cs
- TextEffect.cs
- ListViewEditEventArgs.cs
- ResourceCategoryAttribute.cs
- DataTransferEventArgs.cs
- ObjectListFieldsPage.cs
- ExecutionEngineException.cs
- EventWaitHandleSecurity.cs
- EncryptedType.cs
- ReflectPropertyDescriptor.cs
- OracleBinary.cs
- ConditionalExpression.cs
- SimpleWebHandlerParser.cs
- XmlSignatureProperties.cs
- EventManager.cs
- mediaeventshelper.cs
- DataList.cs