Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. //------------------------------------------------------------------------------ ///// Provides the reason for the Form close. /// ///// 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./// Provides the reason for the Form close. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- wgx_exports.cs
- StyleTypedPropertyAttribute.cs
- x509utils.cs
- InputLanguage.cs
- WsrmFault.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SqlLiftWhereClauses.cs
- CommandField.cs
- DataConnectionHelper.cs
- XmlCompatibilityReader.cs
- ColumnClickEvent.cs
- ExceptionHelpers.cs
- FileSystemEnumerable.cs
- UITypeEditor.cs
- ContextConfiguration.cs
- Root.cs
- XmlNamespaceDeclarationsAttribute.cs
- JoinCqlBlock.cs
- WebPermission.cs
- GreaterThan.cs
- UserControlCodeDomTreeGenerator.cs
- CompositeScriptReferenceEventArgs.cs
- SearchForVirtualItemEventArgs.cs
- SerialReceived.cs
- ParseHttpDate.cs
- DispatcherHookEventArgs.cs
- UpdateTracker.cs
- EntityDataSourceContainerNameItem.cs
- FontNameEditor.cs
- HttpModuleActionCollection.cs
- StubHelpers.cs
- HyperlinkAutomationPeer.cs
- SafeEventLogReadHandle.cs
- dsa.cs
- OrderPreservingPipeliningMergeHelper.cs
- WindowsTooltip.cs
- NamespaceList.cs
- DataGridViewImageColumn.cs
- WindowsStatic.cs
- PlatformNotSupportedException.cs
- HitTestFilterBehavior.cs
- ProcessModuleCollection.cs
- ConstNode.cs
- HasActivatableWorkflowEvent.cs
- XPathAncestorQuery.cs
- RequestQueue.cs
- OperationCanceledException.cs
- ResourceAttributes.cs
- ColorPalette.cs
- Rect.cs
- StylusDevice.cs
- StringFunctions.cs
- TemplateComponentConnector.cs
- HtmlLiteralTextAdapter.cs
- BamlRecords.cs
- MouseEvent.cs
- SafeUserTokenHandle.cs
- DatagridviewDisplayedBandsData.cs
- BrowserCapabilitiesFactory.cs
- PeerCollaboration.cs
- PlainXmlDeserializer.cs
- FreeFormDesigner.cs
- WebPartCatalogCloseVerb.cs
- ObjectReaderCompiler.cs
- EntitySqlQueryState.cs
- CodeSnippetTypeMember.cs
- WindowsAuthenticationModule.cs
- PixelFormats.cs
- XmlIlGenerator.cs
- UserControlCodeDomTreeGenerator.cs
- SqlReferenceCollection.cs
- XmlReaderDelegator.cs
- dataprotectionpermissionattribute.cs
- SendSecurityHeaderElement.cs
- TreeViewAutomationPeer.cs
- IssuedTokenServiceElement.cs
- EditingCoordinator.cs
- XmlDataProvider.cs
- BamlBinaryWriter.cs
- TabletCollection.cs
- ValidatedControlConverter.cs
- LogReservationCollection.cs
- DictionaryItemsCollection.cs
- SqlResolver.cs
- XmlHierarchyData.cs
- ToolStripDropDownClosingEventArgs.cs
- Duration.cs
- Knowncolors.cs
- CommandBindingCollection.cs
- SmiEventSink_DeferedProcessing.cs
- CustomAttribute.cs
- CompiledXpathExpr.cs
- ProviderConnectionPointCollection.cs
- UnaryQueryOperator.cs
- AuthenticationManager.cs
- DataFormats.cs
- XmlAttributeCache.cs
- OleTxTransaction.cs
- PenLineJoinValidation.cs
- PopupControlService.cs