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
- XmlJsonReader.cs
- JsonWriterDelegator.cs
- BaseTemplateParser.cs
- Directory.cs
- GridPattern.cs
- InitializingNewItemEventArgs.cs
- LoadGrammarCompletedEventArgs.cs
- InstancePersistenceContext.cs
- SchemaNames.cs
- TextTreeExtractElementUndoUnit.cs
- Screen.cs
- ImageCodecInfo.cs
- ArgIterator.cs
- ProfilePropertySettingsCollection.cs
- SequentialOutput.cs
- PlaceHolder.cs
- RegexTypeEditor.cs
- WebRequestModulesSection.cs
- TextEditorCharacters.cs
- EdgeModeValidation.cs
- TreeChangeInfo.cs
- TemporaryBitmapFile.cs
- PrimitiveCodeDomSerializer.cs
- TempFiles.cs
- InternalBufferOverflowException.cs
- FixedDocumentSequencePaginator.cs
- AutomationPeer.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- EmptyReadOnlyDictionaryInternal.cs
- SHA512Managed.cs
- CallbackHandler.cs
- ObjectKeyFrameCollection.cs
- XmlSchemaAnyAttribute.cs
- TableDesigner.cs
- keycontainerpermission.cs
- XmlEntity.cs
- NonSerializedAttribute.cs
- ErrorsHelper.cs
- TabRenderer.cs
- DataObjectEventArgs.cs
- ComplusEndpointConfigContainer.cs
- AssemblyBuilder.cs
- InboundActivityHelper.cs
- TableAutomationPeer.cs
- PropertySegmentSerializer.cs
- ErrorWebPart.cs
- SupportingTokenSpecification.cs
- FileSystemWatcher.cs
- MultiTouchSystemGestureLogic.cs
- TransactionScope.cs
- ProcessModelSection.cs
- AsymmetricKeyExchangeFormatter.cs
- CodeDomComponentSerializationService.cs
- CompressEmulationStream.cs
- ExpandableObjectConverter.cs
- JapaneseCalendar.cs
- VBCodeProvider.cs
- CalculatedColumn.cs
- ProfileManager.cs
- SqlParameterizer.cs
- LineSegment.cs
- AudioException.cs
- Types.cs
- BrowserTree.cs
- Timeline.cs
- ErrorTableItemStyle.cs
- SlotInfo.cs
- _AutoWebProxyScriptEngine.cs
- PrimarySelectionGlyph.cs
- SqlGenericUtil.cs
- EntityClassGenerator.cs
- EventLogWatcher.cs
- ColumnMapVisitor.cs
- RegexFCD.cs
- TextPenaltyModule.cs
- DataService.cs
- HMACSHA512.cs
- XmlSchemaExternal.cs
- GatewayIPAddressInformationCollection.cs
- SqlCommandBuilder.cs
- EntityDataSourceQueryBuilder.cs
- Descriptor.cs
- HttpFileCollection.cs
- KeyPressEvent.cs
- TypeEnumerableViewSchema.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- PrincipalPermission.cs
- ServicePointManager.cs
- WeakReadOnlyCollection.cs
- MULTI_QI.cs
- MailSettingsSection.cs
- ProxyHelper.cs
- SpellerStatusTable.cs
- XmlSchemaObjectTable.cs
- FileStream.cs
- LightweightEntityWrapper.cs
- SchemaComplexType.cs
- ToolStripComboBox.cs
- BitHelper.cs
- DelayedRegex.cs