Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- Rect3DConverter.cs
- OutputWindow.cs
- SpnegoTokenProvider.cs
- TypeHelper.cs
- EnumValAlphaComparer.cs
- InstanceNotReadyException.cs
- BooleanStorage.cs
- PropertyGrid.cs
- XmlSchemas.cs
- DependencyPropertyHelper.cs
- Opcode.cs
- AppSettingsSection.cs
- ActivationWorker.cs
- InternalCache.cs
- HttpCookiesSection.cs
- RequestTimeoutManager.cs
- CodeRegionDirective.cs
- Mouse.cs
- StrongName.cs
- DataGridViewButtonColumn.cs
- WrappedIUnknown.cs
- SizeIndependentAnimationStorage.cs
- DocumentEventArgs.cs
- CodeAttributeArgument.cs
- XmlSecureResolver.cs
- CacheMemory.cs
- SqlClientMetaDataCollectionNames.cs
- SystemInfo.cs
- ComboBox.cs
- BulletedListEventArgs.cs
- AsyncDataRequest.cs
- ToolStripDropDownClosedEventArgs.cs
- ThemeDirectoryCompiler.cs
- CrossContextChannel.cs
- FileUtil.cs
- SignedPkcs7.cs
- XmlSerializationWriter.cs
- HtmlForm.cs
- MetadataUtilsSmi.cs
- MenuCommand.cs
- UserInitiatedRoutedEventPermission.cs
- AdapterDictionary.cs
- ThemeableAttribute.cs
- RegexCaptureCollection.cs
- TypefaceMetricsCache.cs
- ImageInfo.cs
- ComNativeDescriptor.cs
- StrongNameIdentityPermission.cs
- DbConnectionPoolCounters.cs
- CommandField.cs
- LeaseManager.cs
- HttpStaticObjectsCollectionWrapper.cs
- GenericRootAutomationPeer.cs
- nulltextcontainer.cs
- sqlmetadatafactory.cs
- SecondaryIndexDefinition.cs
- UpdatePanelControlTrigger.cs
- TryExpression.cs
- RequiredAttributeAttribute.cs
- ipaddressinformationcollection.cs
- ConsoleTraceListener.cs
- DbConnectionStringBuilder.cs
- EventLogPermission.cs
- PublisherIdentityPermission.cs
- HtmlFormWrapper.cs
- GetParentChain.cs
- ResolveCriteria11.cs
- AutomationElement.cs
- StackSpiller.Bindings.cs
- LogReservationCollection.cs
- SqlInternalConnection.cs
- DataTableReader.cs
- GPRECT.cs
- PagedDataSource.cs
- ConfigurationStrings.cs
- EntityDataSourceView.cs
- Int16KeyFrameCollection.cs
- XmlLangPropertyAttribute.cs
- TableSectionStyle.cs
- DataAdapter.cs
- RootAction.cs
- AnchorEditor.cs
- StsCommunicationException.cs
- MessageBox.cs
- hwndwrapper.cs
- TemplateColumn.cs
- ScrollChrome.cs
- AlternationConverter.cs
- SolidColorBrush.cs
- PersistChildrenAttribute.cs
- PreviousTrackingServiceAttribute.cs
- Help.cs
- Debug.cs
- DockingAttribute.cs
- Clipboard.cs
- SwitchExpression.cs
- XmlSerializerImportOptions.cs
- ELinqQueryState.cs
- BitmapInitialize.cs
- HijriCalendar.cs