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
- DeriveBytes.cs
- ModuleBuilderData.cs
- XmlCustomFormatter.cs
- AutomationProperties.cs
- CodeObjectCreateExpression.cs
- EventMetadata.cs
- PointAnimationBase.cs
- EmptyQuery.cs
- Journal.cs
- ServiceHttpHandlerFactory.cs
- StringAnimationUsingKeyFrames.cs
- ParagraphVisual.cs
- ExcludePathInfo.cs
- InputLangChangeRequestEvent.cs
- ViewCellSlot.cs
- HttpModuleAction.cs
- sqlmetadatafactory.cs
- VirtualPath.cs
- StylusPointPropertyInfoDefaults.cs
- EntityDataSourceContextDisposingEventArgs.cs
- PersonalizableTypeEntry.cs
- SHA512Managed.cs
- DoubleMinMaxAggregationOperator.cs
- TraceAsyncResult.cs
- Int32AnimationUsingKeyFrames.cs
- VerticalAlignConverter.cs
- VisualBasicImportReference.cs
- MediaContext.cs
- XmlTypeAttribute.cs
- Internal.cs
- RangeValuePatternIdentifiers.cs
- sitestring.cs
- UdpTransportSettings.cs
- EncoderExceptionFallback.cs
- PeerNode.cs
- Int64KeyFrameCollection.cs
- FlowchartDesignerCommands.cs
- FillRuleValidation.cs
- SerializationFieldInfo.cs
- QuinticEase.cs
- WebPartHelpVerb.cs
- BitmapEffectInputConnector.cs
- ListViewAutomationPeer.cs
- XmlDictionaryReaderQuotas.cs
- LicenseException.cs
- EndpointNameMessageFilter.cs
- QilInvoke.cs
- AssemblyResourceLoader.cs
- TextServicesManager.cs
- MonitoringDescriptionAttribute.cs
- MailWriter.cs
- ToolBarTray.cs
- StateChangeEvent.cs
- SchemaObjectWriter.cs
- Repeater.cs
- Debug.cs
- PageResolution.cs
- OleDbInfoMessageEvent.cs
- ServerProtocol.cs
- SingleTagSectionHandler.cs
- WebSysDisplayNameAttribute.cs
- Hashtable.cs
- OpCodes.cs
- ToolStripCollectionEditor.cs
- Transform3D.cs
- DelegatedStream.cs
- FormClosedEvent.cs
- ValidationResult.cs
- PaintValueEventArgs.cs
- InheritanceContextChangedEventManager.cs
- SetStateEventArgs.cs
- XmlNamedNodeMap.cs
- TextDecorations.cs
- EventLogEntryCollection.cs
- C14NUtil.cs
- QilDataSource.cs
- CodeDOMUtility.cs
- ExpressionTextBox.xaml.cs
- BindingList.cs
- TextOutput.cs
- DispatchWrapper.cs
- TextServicesPropertyRanges.cs
- CodeTypeParameter.cs
- StrokeCollection.cs
- PolyLineSegment.cs
- SignatureDescription.cs
- ConnectionManagementSection.cs
- FullTextBreakpoint.cs
- SafeNativeMethods.cs
- DelegatingHeader.cs
- documentsequencetextcontainer.cs
- ProtectedConfiguration.cs
- TypeDescriptionProviderAttribute.cs
- BooleanProjectedSlot.cs
- Point3DCollection.cs
- SqlResolver.cs
- RecognitionResult.cs
- ToolStripOverflowButton.cs
- WindowVisualStateTracker.cs
- UserMapPath.cs