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
- SparseMemoryStream.cs
- Base64Stream.cs
- EntityContainerEmitter.cs
- BackoffTimeoutHelper.cs
- ProfileInfo.cs
- GridView.cs
- SqlDataReader.cs
- GPPOINTF.cs
- Tokenizer.cs
- TaskFormBase.cs
- PkcsUtils.cs
- ToolboxSnapDragDropEventArgs.cs
- SqlDataSourceView.cs
- Sentence.cs
- HttpCacheVaryByContentEncodings.cs
- AttachedPropertyMethodSelector.cs
- DeclarativeCatalogPart.cs
- ProxyAttribute.cs
- FixedSOMSemanticBox.cs
- ObjectConverter.cs
- CreateUserWizardStep.cs
- DataSourceCacheDurationConverter.cs
- DataControlButton.cs
- AnnotationResourceChangedEventArgs.cs
- SQLBinary.cs
- Simplifier.cs
- Pkcs9Attribute.cs
- XmlSchemaInferenceException.cs
- BaseDataListDesigner.cs
- UnsafeNativeMethods.cs
- SafeRegistryHandle.cs
- SystemDiagnosticsSection.cs
- ClrProviderManifest.cs
- SystemDiagnosticsSection.cs
- BitmapEffectState.cs
- XmlDsigSep2000.cs
- Trace.cs
- CmsInterop.cs
- FormsAuthenticationModule.cs
- FixedPage.cs
- MenuItemStyleCollectionEditor.cs
- DebuggerAttributes.cs
- EncoderReplacementFallback.cs
- SectionXmlInfo.cs
- ControlBuilder.cs
- Misc.cs
- ListBindingHelper.cs
- FormViewAutoFormat.cs
- Simplifier.cs
- CheckPair.cs
- SortedList.cs
- EncodingFallbackAwareXmlTextWriter.cs
- SqlXmlStorage.cs
- ListViewHitTestInfo.cs
- CheckoutException.cs
- ResourceDescriptionAttribute.cs
- SoapProtocolImporter.cs
- RoutingService.cs
- _Events.cs
- ProviderCollection.cs
- RegexCompiler.cs
- FontDialog.cs
- LabelDesigner.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- PrintingPermission.cs
- XmlTypeMapping.cs
- ObjectViewEntityCollectionData.cs
- ReverseComparer.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- SqlDataSourceWizardForm.cs
- CurrentTimeZone.cs
- CompressedStack.cs
- RegisteredExpandoAttribute.cs
- OletxEnlistment.cs
- XmlDataSourceDesigner.cs
- ReadOnlyPermissionSet.cs
- RadioButtonDesigner.cs
- SamlAuthorityBinding.cs
- ResumeStoryboard.cs
- MemberHolder.cs
- ShaderEffect.cs
- FastPropertyAccessor.cs
- CharAnimationUsingKeyFrames.cs
- WebPartAddingEventArgs.cs
- ControlCollection.cs
- ColumnWidthChangingEvent.cs
- SettingsPropertyValueCollection.cs
- TreeWalker.cs
- LocatorPart.cs
- WebPartsPersonalization.cs
- XmlSchemaObject.cs
- EventManager.cs
- StructuralCache.cs
- RenderDataDrawingContext.cs
- CodeLabeledStatement.cs
- BaseResourcesBuildProvider.cs
- SaveFileDialog.cs
- MemberRestriction.cs
- SafeSecurityHelper.cs
- ITextView.cs