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
- EventSourceCreationData.cs
- __ComObject.cs
- NamespaceDecl.cs
- LogArchiveSnapshot.cs
- StringAnimationBase.cs
- CreateUserWizard.cs
- PanelStyle.cs
- ObjectComplexPropertyMapping.cs
- SchemaContext.cs
- Lease.cs
- HttpStreamFormatter.cs
- OperatingSystem.cs
- StateManagedCollection.cs
- HttpCookiesSection.cs
- IteratorDescriptor.cs
- XmlCDATASection.cs
- AnimationClockResource.cs
- CodeBinaryOperatorExpression.cs
- PageThemeCodeDomTreeGenerator.cs
- DataServiceStreamProviderWrapper.cs
- DropDownHolder.cs
- ConfigXmlComment.cs
- SerializationObjectManager.cs
- RecipientInfo.cs
- HttpCachePolicy.cs
- _CommandStream.cs
- SqlProviderServices.cs
- ActivationArguments.cs
- Site.cs
- PeerNameRecord.cs
- FileDialogCustomPlace.cs
- KnownColorTable.cs
- dataprotectionpermission.cs
- MediaElementAutomationPeer.cs
- XmlIlVisitor.cs
- MemberHolder.cs
- IntSecurity.cs
- XhtmlTextWriter.cs
- XMLSyntaxException.cs
- InternalDuplexChannelFactory.cs
- CommunicationException.cs
- HtmlLiteralTextAdapter.cs
- WebUtil.cs
- MatrixTransform.cs
- WindowsToolbarItemAsMenuItem.cs
- ElementProxy.cs
- UInt64.cs
- ToolStripPanel.cs
- ValidatingPropertiesEventArgs.cs
- SystemException.cs
- ScaleTransform3D.cs
- KeyValuePair.cs
- Line.cs
- UnsignedPublishLicense.cs
- HMACSHA256.cs
- TableLayoutPanelBehavior.cs
- TreeWalkHelper.cs
- DocumentViewerBase.cs
- AggregateException.cs
- CqlWriter.cs
- RequestCachingSection.cs
- DataRelationCollection.cs
- SizeF.cs
- AttributeEmitter.cs
- WindowsRegion.cs
- EntityCommand.cs
- ApplicationInfo.cs
- CngProvider.cs
- CheckStoreFileValidityRequest.cs
- DecoderBestFitFallback.cs
- WindowsIPAddress.cs
- Vector3DValueSerializer.cs
- CalendarSelectionChangedEventArgs.cs
- WebConfigurationHostFileChange.cs
- FunctionNode.cs
- AudioDeviceOut.cs
- LocalClientSecuritySettingsElement.cs
- BookmarkScopeManager.cs
- AssemblyAttributes.cs
- PageCatalogPart.cs
- Intellisense.cs
- HebrewCalendar.cs
- ToolBarPanel.cs
- CodeNamespaceImport.cs
- GreenMethods.cs
- ResourceFallbackManager.cs
- MeasureData.cs
- LineGeometry.cs
- DocumentReference.cs
- HeaderedContentControl.cs
- ExpandedWrapper.cs
- DataRelation.cs
- CachedRequestParams.cs
- ContentTextAutomationPeer.cs
- SocketAddress.cs
- ScrollBar.cs
- LinkedResource.cs
- DecimalConverter.cs
- _LocalDataStoreMgr.cs
- ConditionalAttribute.cs