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
- EventHandlerList.cs
- EntitySqlQueryCacheEntry.cs
- ComEventsSink.cs
- DrawingAttributes.cs
- MemberCollection.cs
- BevelBitmapEffect.cs
- EmptyQuery.cs
- basecomparevalidator.cs
- StandardBindingCollectionElement.cs
- ProjectionCamera.cs
- HtmlHistory.cs
- SplashScreenNativeMethods.cs
- Image.cs
- ObjectStateManagerMetadata.cs
- MemberDescriptor.cs
- ItemMap.cs
- FactoryGenerator.cs
- InstalledFontCollection.cs
- TextClipboardData.cs
- TextEditorMouse.cs
- XMLUtil.cs
- Parsers.cs
- FilteredAttributeCollection.cs
- IPEndPoint.cs
- WebUtil.cs
- ByteFacetDescriptionElement.cs
- FormsAuthenticationTicket.cs
- ObjectStorage.cs
- Effect.cs
- CaseInsensitiveComparer.cs
- CompareValidator.cs
- SimpleParser.cs
- ColorTranslator.cs
- ConstrainedDataObject.cs
- PersistenceProviderDirectory.cs
- DataViewManager.cs
- AQNBuilder.cs
- SizeConverter.cs
- StrokeNodeEnumerator.cs
- SQLInt16Storage.cs
- DataGridViewTopLeftHeaderCell.cs
- PropertyRef.cs
- RoleManagerSection.cs
- SafeTimerHandle.cs
- Duration.cs
- SessionStateUtil.cs
- Operator.cs
- LogicalTreeHelper.cs
- QilGenerator.cs
- Thickness.cs
- BitmapEffectCollection.cs
- VisualBrush.cs
- HtmlElementCollection.cs
- ImageFormatConverter.cs
- ClosureBinding.cs
- UrlPath.cs
- FontSource.cs
- FilteredAttributeCollection.cs
- StreamUpgradeInitiator.cs
- CqlBlock.cs
- FileClassifier.cs
- ConstructorNeedsTagAttribute.cs
- ITextView.cs
- SmiMetaData.cs
- GridViewAutomationPeer.cs
- BinaryFormatterWriter.cs
- BadImageFormatException.cs
- Rotation3DAnimationUsingKeyFrames.cs
- RequestDescription.cs
- EditCommandColumn.cs
- UrlPropertyAttribute.cs
- LicenseProviderAttribute.cs
- SystemTcpConnection.cs
- WorkflowInstanceExtensionManager.cs
- X509Extension.cs
- Color.cs
- XmlEncoding.cs
- XmlDictionaryString.cs
- UidPropertyAttribute.cs
- TrackingLocation.cs
- XmlSchemaComplexContent.cs
- ButtonField.cs
- HostingEnvironmentSection.cs
- VectorValueSerializer.cs
- BatchStream.cs
- HttpRequest.cs
- AttributeAction.cs
- HiddenField.cs
- SqlInternalConnectionSmi.cs
- XmlCodeExporter.cs
- Debugger.cs
- CommandField.cs
- ArraySet.cs
- SmiXetterAccessMap.cs
- PrePostDescendentsWalker.cs
- PropertyStore.cs
- BitSet.cs
- HandledMouseEvent.cs
- TypedTableGenerator.cs
- CompositeDataBoundControl.cs