Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / FormClosingEvent.cs / 1305376 / 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
- ParserStreamGeometryContext.cs
- SessionEndingCancelEventArgs.cs
- InvalidDocumentContentsException.cs
- _IPv6Address.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ShaderEffect.cs
- TdsRecordBufferSetter.cs
- ColumnResult.cs
- WhileDesigner.cs
- PropertyConverter.cs
- VectorCollectionConverter.cs
- isolationinterop.cs
- GradientBrush.cs
- TransportSecurityProtocolFactory.cs
- _DomainName.cs
- EntityDataSourceState.cs
- WindowPatternIdentifiers.cs
- DataGridColumnReorderingEventArgs.cs
- CssClassPropertyAttribute.cs
- MobileControlsSection.cs
- CompiledELinqQueryState.cs
- MsmqInputChannelListenerBase.cs
- ElementMarkupObject.cs
- XmlSchemaDocumentation.cs
- CustomCategoryAttribute.cs
- XmlCDATASection.cs
- CatchBlock.cs
- PerformanceCounter.cs
- DocumentGridPage.cs
- PersonalizationStateInfoCollection.cs
- CodeTypeMember.cs
- Line.cs
- ParameterCollection.cs
- StoreContentChangedEventArgs.cs
- DependencyProperty.cs
- FrameworkContentElement.cs
- DocumentXmlWriter.cs
- IImplicitResourceProvider.cs
- xmlformatgeneratorstatics.cs
- WebPartUtil.cs
- SafeViewOfFileHandle.cs
- TextMetrics.cs
- ListItemsCollectionEditor.cs
- Ipv6Element.cs
- AsyncOperation.cs
- SingleConverter.cs
- TableRowGroup.cs
- SqlCachedBuffer.cs
- AnimationClockResource.cs
- NamedPermissionSet.cs
- SamlConstants.cs
- BasicBrowserDialog.designer.cs
- XamlToRtfParser.cs
- SqlUnionizer.cs
- AsyncOperation.cs
- HyperLink.cs
- DataGridPageChangedEventArgs.cs
- BuildProviderCollection.cs
- wmiutil.cs
- AdvancedBindingPropertyDescriptor.cs
- XamlClipboardData.cs
- BitmapEffectInputConnector.cs
- MediaTimeline.cs
- MyContact.cs
- DesignerGenericWebPart.cs
- HtmlEmptyTagControlBuilder.cs
- NonParentingControl.cs
- XmlSchemaImport.cs
- ObjRef.cs
- DataGridCellsPresenter.cs
- PartialClassGenerationTask.cs
- SoapSchemaMember.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- OpenTypeLayout.cs
- BitmapImage.cs
- WebRequestModuleElement.cs
- WindowsGraphicsWrapper.cs
- DbProviderSpecificTypePropertyAttribute.cs
- FixedSOMSemanticBox.cs
- EntityDataReader.cs
- ErrorWrapper.cs
- Int64AnimationUsingKeyFrames.cs
- UserControlCodeDomTreeGenerator.cs
- LinkedResource.cs
- DynamicVirtualDiscoSearcher.cs
- DocumentPage.cs
- SystemUnicastIPAddressInformation.cs
- Header.cs
- ConvertEvent.cs
- XmlUTF8TextWriter.cs
- SqlDuplicator.cs
- ISessionStateStore.cs
- BamlReader.cs
- DeclarationUpdate.cs
- OdbcException.cs
- RangeValuePattern.cs
- ProfileProvider.cs
- FontStyles.cs
- InfoCardTraceRecord.cs
- OperationInfo.cs