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
- TileBrush.cs
- RootBrowserWindowAutomationPeer.cs
- ListItem.cs
- UnsafePeerToPeerMethods.cs
- DependencyObject.cs
- FlagsAttribute.cs
- ISFTagAndGuidCache.cs
- httpstaticobjectscollection.cs
- SimpleTypeResolver.cs
- LinqDataSourceDeleteEventArgs.cs
- RewritingPass.cs
- TypeToken.cs
- GenericTypeParameterConverter.cs
- PackageProperties.cs
- RouteTable.cs
- MaskedTextBoxDesignerActionList.cs
- StorageTypeMapping.cs
- TypeSystem.cs
- WindowAutomationPeer.cs
- Line.cs
- RtfToXamlLexer.cs
- MetadataCollection.cs
- ToolStripSystemRenderer.cs
- SearchForVirtualItemEventArgs.cs
- Codec.cs
- ParsedAttributeCollection.cs
- GraphicsState.cs
- LOSFormatter.cs
- ErrorProvider.cs
- TextEditorDragDrop.cs
- KeyMatchBuilder.cs
- Stackframe.cs
- SqlCharStream.cs
- CheckedListBox.cs
- DefaultAuthorizationContext.cs
- Int32CollectionConverter.cs
- configsystem.cs
- RecommendedAsConfigurableAttribute.cs
- BaseTransportHeaders.cs
- base64Transforms.cs
- LocatorPartList.cs
- QuadTree.cs
- TextPattern.cs
- ChildDocumentBlock.cs
- GeneralTransform3D.cs
- ActiveXContainer.cs
- StringHandle.cs
- Base64Encoder.cs
- XmlSchemaExporter.cs
- RadioButtonRenderer.cs
- ManipulationDeltaEventArgs.cs
- StretchValidation.cs
- _NtlmClient.cs
- SqlNotificationRequest.cs
- ConnectionOrientedTransportChannelFactory.cs
- X509CertificateValidationMode.cs
- MenuBindingsEditor.cs
- EncryptedType.cs
- InfoCardTraceRecord.cs
- DesignerView.cs
- MembershipUser.cs
- FileDialog.cs
- Rfc2898DeriveBytes.cs
- UInt32.cs
- ProfileBuildProvider.cs
- basecomparevalidator.cs
- HealthMonitoringSectionHelper.cs
- ClonableStack.cs
- WindowsIdentity.cs
- PopupRootAutomationPeer.cs
- StreamInfo.cs
- ChangeDirector.cs
- XmlSerializerFormatAttribute.cs
- LinkLabel.cs
- ResourcePool.cs
- ToolStripPanelCell.cs
- GeneralTransformGroup.cs
- ProviderBase.cs
- DbDataAdapter.cs
- SequentialOutput.cs
- SQLByteStorage.cs
- FacetValues.cs
- UriExt.cs
- Part.cs
- ReadOnlyCollectionBase.cs
- EventBuilder.cs
- GcSettings.cs
- TextEditorParagraphs.cs
- SqlDataSourceDesigner.cs
- XmlNamespaceMappingCollection.cs
- SymmetricAlgorithm.cs
- PrimitiveSchema.cs
- RoutedEvent.cs
- ChannelTerminatedException.cs
- CallTemplateAction.cs
- VScrollBar.cs
- StatusBarItemAutomationPeer.cs
- cryptoapiTransform.cs
- InfoCardTraceRecord.cs
- PatternMatcher.cs