Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CustomErrorsSectionWrapper.cs
- Oci.cs
- Object.cs
- ChildDocumentBlock.cs
- WindowsButton.cs
- ZipIOCentralDirectoryBlock.cs
- QuaternionAnimationUsingKeyFrames.cs
- OutputWindow.cs
- StretchValidation.cs
- NativeMethods.cs
- HttpWebRequestElement.cs
- DesignerCapabilities.cs
- DataBindingExpressionBuilder.cs
- EntityObject.cs
- DataGridViewRowsAddedEventArgs.cs
- NameSpaceExtractor.cs
- DataServiceBuildProvider.cs
- Emitter.cs
- RootBrowserWindowProxy.cs
- PrivilegeNotHeldException.cs
- ColumnPropertiesGroup.cs
- FileSecurity.cs
- ContainerControl.cs
- MarkupCompilePass1.cs
- ToolStripContextMenu.cs
- MetabaseSettingsIis7.cs
- ContentHostHelper.cs
- MessageAction.cs
- BindingValueChangedEventArgs.cs
- SubMenuStyleCollection.cs
- XPathNavigator.cs
- KeyTime.cs
- WebPartTransformer.cs
- XmlExpressionDumper.cs
- AnnotationResourceChangedEventArgs.cs
- BaseCodePageEncoding.cs
- BaseProcessProtocolHandler.cs
- TouchesCapturedWithinProperty.cs
- WinHttpWebProxyFinder.cs
- RepeatBehaviorConverter.cs
- ProxyHelper.cs
- RadialGradientBrush.cs
- WorkflowTraceTransfer.cs
- RsaSecurityKey.cs
- WeakReferenceKey.cs
- LogStore.cs
- UdpReplyToBehavior.cs
- WindowsListViewItemCheckBox.cs
- PanelStyle.cs
- ConnectionString.cs
- BitmapDecoder.cs
- FileDialog.cs
- SourceCollection.cs
- QuotedPrintableStream.cs
- TemplateEditingVerb.cs
- DependencySource.cs
- UnsafeNetInfoNativeMethods.cs
- ErrorCodes.cs
- CustomTypeDescriptor.cs
- ScrollItemProviderWrapper.cs
- XmlSchemaSimpleTypeUnion.cs
- PersistChildrenAttribute.cs
- CodeMethodMap.cs
- WindowsSlider.cs
- XPathException.cs
- VisualStyleInformation.cs
- GradientStop.cs
- ValidationErrorCollection.cs
- Publisher.cs
- CodeObjectCreateExpression.cs
- FormParameter.cs
- TemplatedWizardStep.cs
- ByteConverter.cs
- ParameterElementCollection.cs
- DocumentPageHost.cs
- MultiSelectRootGridEntry.cs
- FileRegion.cs
- ConfigXmlWhitespace.cs
- BamlLocalizationDictionary.cs
- StyleHelper.cs
- DetailsViewRowCollection.cs
- XPathNavigatorReader.cs
- IgnoreSectionHandler.cs
- AmbientValueAttribute.cs
- LazyTextWriterCreator.cs
- AccessViolationException.cs
- ImageConverter.cs
- WindowVisualStateTracker.cs
- EventBuilder.cs
- LoginCancelEventArgs.cs
- XmlArrayItemAttribute.cs
- IpcClientChannel.cs
- PropertyPushdownHelper.cs
- DependencyPropertyKey.cs
- ZoomPercentageConverter.cs
- PrimarySelectionGlyph.cs
- SID.cs
- FixedSOMLineCollection.cs
- ResourceProviderFactory.cs
- RenderData.cs