Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SelectionPatternIdentifiers.cs
- UncommonField.cs
- COSERVERINFO.cs
- BufferedWebEventProvider.cs
- BinaryExpressionHelper.cs
- CalloutQueueItem.cs
- DelegateBodyWriter.cs
- XmlChildNodes.cs
- GraphicsContext.cs
- EventWaitHandle.cs
- TextStore.cs
- tibetanshape.cs
- ExpressionBuilderCollection.cs
- Label.cs
- PenContexts.cs
- ClonableStack.cs
- SapiRecognizer.cs
- Module.cs
- DiscoveryReferences.cs
- NeutralResourcesLanguageAttribute.cs
- AutomationIdentifier.cs
- ColumnMapVisitor.cs
- documentsequencetextview.cs
- NumberFormatInfo.cs
- FixedHighlight.cs
- SmtpFailedRecipientsException.cs
- DataGridViewBand.cs
- UserPersonalizationStateInfo.cs
- Bits.cs
- WorkflowViewStateService.cs
- ServerReliableChannelBinder.cs
- Base64Encoder.cs
- X509CertificateClaimSet.cs
- FrameworkContentElement.cs
- Util.cs
- SerializationBinder.cs
- GrabHandleGlyph.cs
- SafeNativeMethods.cs
- X509Certificate.cs
- GAC.cs
- WebPartTransformerCollection.cs
- EventSinkHelperWriter.cs
- SessionMode.cs
- CommentEmitter.cs
- basenumberconverter.cs
- ExpandSegment.cs
- Certificate.cs
- EntryPointNotFoundException.cs
- XamlNamespaceHelper.cs
- NotImplementedException.cs
- RuntimeConfig.cs
- InternalsVisibleToAttribute.cs
- AdornedElementPlaceholder.cs
- DbXmlEnabledProviderManifest.cs
- SynchronizedInputProviderWrapper.cs
- StringArrayEditor.cs
- EllipticalNodeOperations.cs
- DatatypeImplementation.cs
- OdbcConnectionFactory.cs
- ProgressPage.cs
- Range.cs
- selecteditemcollection.cs
- Int64Animation.cs
- BitmapImage.cs
- AlignmentYValidation.cs
- Selection.cs
- DomainUpDown.cs
- ItemsControlAutomationPeer.cs
- OutputCacheSettingsSection.cs
- DesignConnection.cs
- FormattedTextSymbols.cs
- InvalidCommandTreeException.cs
- TreeNodeStyleCollection.cs
- DelegatedStream.cs
- TemplateEditingVerb.cs
- Pkcs7Signer.cs
- BaseUriHelper.cs
- ParsedAttributeCollection.cs
- WindowsTitleBar.cs
- recordstatefactory.cs
- SessionIDManager.cs
- NativeActivityTransactionContext.cs
- ListItemCollection.cs
- ObjectDataSourceFilteringEventArgs.cs
- _UriTypeConverter.cs
- SupportsEventValidationAttribute.cs
- XmlDocumentSerializer.cs
- XmlWrappingReader.cs
- ApplicationId.cs
- ExtractorMetadata.cs
- KeyValueSerializer.cs
- WindowsRichEdit.cs
- ViewStateModeByIdAttribute.cs
- InputReport.cs
- QilFactory.cs
- HtmlControlPersistable.cs
- Claim.cs
- SeparatorAutomationPeer.cs
- AnimationClock.cs
- MiniMapControl.xaml.cs