Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / FormClosingEvent.cs / 1 / FormClosingEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// public class FormClosingEventArgs : CancelEventArgs { private CloseReason closeReason; ////// Provides data for the ///, /// /// event. /// public FormClosingEventArgs(CloseReason closeReason, bool cancel) : base(cancel) { this.closeReason = closeReason; } /// /// /// public CloseReason CloseReason { get { return closeReason; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Provides the reason for the Form close. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConfigurationElementProperty.cs
- StateMachineSubscriptionManager.cs
- ToolboxItem.cs
- ConnectorSelectionGlyph.cs
- StructuredTypeEmitter.cs
- Empty.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- FixedDocument.cs
- DescendantQuery.cs
- InvalidProgramException.cs
- PlainXmlWriter.cs
- TableLayoutStyle.cs
- HostingEnvironmentSection.cs
- ClientSession.cs
- SmiEventSink_DeferedProcessing.cs
- OutputCacheProfileCollection.cs
- ComPlusDiagnosticTraceSchemas.cs
- TextEffect.cs
- ToolStripContentPanel.cs
- ToolStripDropDownButton.cs
- DataKeyArray.cs
- UseAttributeSetsAction.cs
- PageRequestManager.cs
- AnimatedTypeHelpers.cs
- CodeTypeParameter.cs
- M3DUtil.cs
- URLString.cs
- RepeaterCommandEventArgs.cs
- SizeIndependentAnimationStorage.cs
- RemoveStoryboard.cs
- OptimalBreakSession.cs
- Pair.cs
- XmlnsDictionary.cs
- ProfilePropertySettings.cs
- SchemaName.cs
- RecordManager.cs
- ErrorFormatterPage.cs
- EncoderFallback.cs
- FontNameConverter.cs
- CriticalFinalizerObject.cs
- DelegatingHeader.cs
- Tokenizer.cs
- FixedSchema.cs
- ManualResetEvent.cs
- EntityDataSourceState.cs
- PropertyChangedEventManager.cs
- ResourcesBuildProvider.cs
- SignatureHelper.cs
- XmlAutoDetectWriter.cs
- ReadOnlyDictionary.cs
- Part.cs
- MultiPageTextView.cs
- EmptyQuery.cs
- RelationshipSet.cs
- HMACRIPEMD160.cs
- ApplicationActivator.cs
- TextComposition.cs
- KeyEventArgs.cs
- HttpEncoderUtility.cs
- AudioException.cs
- BlobPersonalizationState.cs
- DbParameterCollectionHelper.cs
- CommonServiceBehaviorElement.cs
- SafeUserTokenHandle.cs
- OperatorExpressions.cs
- Assembly.cs
- _FtpControlStream.cs
- PropertyNames.cs
- TimerEventSubscriptionCollection.cs
- ReadOnlyHierarchicalDataSource.cs
- ObjectDataSourceSelectingEventArgs.cs
- TableProvider.cs
- GridViewDeletedEventArgs.cs
- SystemIPGlobalProperties.cs
- WrappedIUnknown.cs
- PreProcessor.cs
- Attributes.cs
- MenuItemStyleCollection.cs
- MsmqTransportSecurity.cs
- ToolStripSettings.cs
- ServiceMetadataBehavior.cs
- ScrollContentPresenter.cs
- StringResourceManager.cs
- IPipelineRuntime.cs
- GridViewColumnHeaderAutomationPeer.cs
- DbCommandTree.cs
- StorageRoot.cs
- PropertyCollection.cs
- RegistryPermission.cs
- C14NUtil.cs
- SingleTagSectionHandler.cs
- SafeRightsManagementQueryHandle.cs
- GifBitmapDecoder.cs
- BitmapInitialize.cs
- ColorMatrix.cs
- ImageClickEventArgs.cs
- Underline.cs
- XmlAutoDetectWriter.cs
- HijriCalendar.cs
- FigureParaClient.cs