Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- BuilderPropertyEntry.cs
- Misc.cs
- ExpressionBuilder.cs
- ApplicationSecurityManager.cs
- RawStylusInputReport.cs
- ParentControlDesigner.cs
- DataFieldEditor.cs
- CodeStatementCollection.cs
- UInt64.cs
- ZipIOExtraField.cs
- IOException.cs
- SecurityTokenAuthenticator.cs
- _CookieModule.cs
- LinqDataSource.cs
- SRDisplayNameAttribute.cs
- InvalidComObjectException.cs
- VectorKeyFrameCollection.cs
- LocatorPartList.cs
- DataControlExtensions.cs
- DetailsViewAutoFormat.cs
- SecurityRuntime.cs
- CommandValueSerializer.cs
- DefaultEventAttribute.cs
- BitmapPalettes.cs
- DataPagerFieldCollection.cs
- ButtonColumn.cs
- RegexCharClass.cs
- ScalarConstant.cs
- DispatcherSynchronizationContext.cs
- WebBrowserNavigatingEventHandler.cs
- MimeMultiPart.cs
- NewArray.cs
- WebPartDescription.cs
- BitmapEffectInput.cs
- BaseCodePageEncoding.cs
- TagPrefixCollection.cs
- SqlCommandBuilder.cs
- PropertyDescriptorCollection.cs
- EntryWrittenEventArgs.cs
- PropertyMapper.cs
- ParserExtension.cs
- SqlEnums.cs
- EllipseGeometry.cs
- CodeCompileUnit.cs
- Size.cs
- OracleDataReader.cs
- RegexCapture.cs
- ConfigurationSection.cs
- Win32KeyboardDevice.cs
- SelectQueryOperator.cs
- SoapSchemaMember.cs
- WebPartConnectionsEventArgs.cs
- InheritanceContextChangedEventManager.cs
- PersistenceProviderFactory.cs
- RootProjectionNode.cs
- VirtualizingPanel.cs
- DataGridViewAccessibleObject.cs
- SoapElementAttribute.cs
- Int32CollectionConverter.cs
- GifBitmapDecoder.cs
- DataIdProcessor.cs
- UserControlFileEditor.cs
- Walker.cs
- SemanticResolver.cs
- ISAPIRuntime.cs
- AppModelKnownContentFactory.cs
- FullTextLine.cs
- ParameterBuilder.cs
- WebReferencesBuildProvider.cs
- Helper.cs
- LayoutSettings.cs
- ValueSerializerAttribute.cs
- Rect.cs
- XmlAttribute.cs
- LambdaCompiler.Statements.cs
- WindowsScrollBarBits.cs
- StorageBasedPackageProperties.cs
- FrameworkObject.cs
- DataServiceQuery.cs
- XmlDocumentType.cs
- RedistVersionInfo.cs
- TypeForwardedToAttribute.cs
- ValidationEventArgs.cs
- IPipelineRuntime.cs
- PermissionSetEnumerator.cs
- CqlLexer.cs
- ConditionalAttribute.cs
- xmlfixedPageInfo.cs
- DatagridviewDisplayedBandsData.cs
- FactoryGenerator.cs
- ToolStripLocationCancelEventArgs.cs
- NativeMethods.cs
- Enumerable.cs
- XsltArgumentList.cs
- HScrollProperties.cs
- VirtualPathProvider.cs
- GeometryGroup.cs
- URLString.cs
- WebPartCloseVerb.cs
- ColorBuilder.cs