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
- MsmqDecodeHelper.cs
- PointConverter.cs
- NameValueFileSectionHandler.cs
- PropertyTabAttribute.cs
- ParameterBuilder.cs
- Int32KeyFrameCollection.cs
- DesignerActionUIStateChangeEventArgs.cs
- ListControlConvertEventArgs.cs
- PlatformNotSupportedException.cs
- VisualStyleRenderer.cs
- XmlHierarchyData.cs
- UrlMapping.cs
- CloseCryptoHandleRequest.cs
- Int32RectConverter.cs
- ToolboxItem.cs
- CssTextWriter.cs
- CombinedGeometry.cs
- Types.cs
- isolationinterop.cs
- DecoderFallback.cs
- CasesDictionary.cs
- HuffmanTree.cs
- SystemDiagnosticsSection.cs
- StagingAreaInputItem.cs
- xmlglyphRunInfo.cs
- CompiledAction.cs
- D3DImage.cs
- Object.cs
- NamespaceQuery.cs
- RegexCompiler.cs
- CharacterHit.cs
- ScriptMethodAttribute.cs
- TargetInvocationException.cs
- BuildResult.cs
- ToolStripRenderer.cs
- SettingsProviderCollection.cs
- URIFormatException.cs
- ElementUtil.cs
- QualifiedCellIdBoolean.cs
- Point.cs
- ContextStack.cs
- CharConverter.cs
- DataGridViewDataErrorEventArgs.cs
- RijndaelManagedTransform.cs
- BodyGlyph.cs
- __TransparentProxy.cs
- WinFormsSpinner.cs
- BindingCollection.cs
- SplitterPanelDesigner.cs
- XsltException.cs
- ExpressionCopier.cs
- Matrix3DValueSerializer.cs
- DropDownHolder.cs
- MessageBuilder.cs
- PositiveTimeSpanValidator.cs
- DropDownHolder.cs
- PersistChildrenAttribute.cs
- WebServiceClientProxyGenerator.cs
- EditorAttributeInfo.cs
- XmlUtil.cs
- GZipDecoder.cs
- CutCopyPasteHelper.cs
- WindowsListViewItemCheckBox.cs
- InternalMappingException.cs
- ReachSerializableProperties.cs
- Calendar.cs
- CodeAssignStatement.cs
- WSHttpBindingCollectionElement.cs
- SqlFunctionAttribute.cs
- shaperfactoryquerycachekey.cs
- TypeResolvingOptions.cs
- IteratorFilter.cs
- XmlSchemaSet.cs
- DefaultHttpHandler.cs
- Operator.cs
- ExternalCalls.cs
- X509Utils.cs
- XmlElement.cs
- DataGridItemCollection.cs
- XmlSchemaComplexContentRestriction.cs
- ToolStripDropDownItem.cs
- UnmanagedMemoryStreamWrapper.cs
- DataPagerFieldItem.cs
- EmptyCollection.cs
- HotSpotCollection.cs
- DiscoveryDocumentLinksPattern.cs
- ReflectionServiceProvider.cs
- tooltip.cs
- CommandLineParser.cs
- CompositeScriptReference.cs
- DifferencingCollection.cs
- PrintPreviewControl.cs
- ConfigXmlText.cs
- StyleBamlTreeBuilder.cs
- LinqDataSourceDisposeEventArgs.cs
- HopperCache.cs
- Timer.cs
- StrongTypingException.cs
- HwndStylusInputProvider.cs
- SplineKeyFrames.cs