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
- LineGeometry.cs
- FlowDocument.cs
- SchemaCreator.cs
- FloaterParaClient.cs
- SQLDoubleStorage.cs
- DataSysAttribute.cs
- MultiByteCodec.cs
- DiscoveryService.cs
- CommandPlan.cs
- Events.cs
- PenThreadPool.cs
- coordinatorscratchpad.cs
- WarningException.cs
- DataPagerFieldCollection.cs
- TTSEvent.cs
- PropertyGridEditorPart.cs
- XmlAutoDetectWriter.cs
- FramingChannels.cs
- HttpRequestWrapper.cs
- GridLength.cs
- AlignmentXValidation.cs
- MessageContractMemberAttribute.cs
- NativeMethods.cs
- PageCodeDomTreeGenerator.cs
- TableItemPattern.cs
- IndexOutOfRangeException.cs
- MessageQueueKey.cs
- DesignerCalendarAdapter.cs
- Environment.cs
- BitmapSourceSafeMILHandle.cs
- CqlIdentifiers.cs
- OpCellTreeNode.cs
- Icon.cs
- GridViewSelectEventArgs.cs
- BitmapEffectCollection.cs
- RightsManagementEncryptionTransform.cs
- ShadowGlyph.cs
- HttpsHostedTransportConfiguration.cs
- SatelliteContractVersionAttribute.cs
- RegexTree.cs
- KeySpline.cs
- DataListItem.cs
- panel.cs
- fixedPageContentExtractor.cs
- MobileFormsAuthentication.cs
- InArgument.cs
- HierarchicalDataBoundControlAdapter.cs
- ResXResourceReader.cs
- ConfigurationSchemaErrors.cs
- CreatingCookieEventArgs.cs
- shaperfactory.cs
- precedingquery.cs
- DataGridTextBoxColumn.cs
- DSASignatureDeformatter.cs
- WindowsFont.cs
- DataRecordObjectView.cs
- Documentation.cs
- FormViewUpdatedEventArgs.cs
- RadioButtonRenderer.cs
- X509Chain.cs
- AssertHelper.cs
- Propagator.ExtentPlaceholderCreator.cs
- PlacementWorkspace.cs
- VScrollBar.cs
- CheckoutException.cs
- GregorianCalendarHelper.cs
- MessageContractExporter.cs
- RandomNumberGenerator.cs
- Vector3DCollectionConverter.cs
- SqlPersonalizationProvider.cs
- SelectionListDesigner.cs
- SelectionPattern.cs
- GuidTagList.cs
- NamespaceTable.cs
- OleDbConnectionFactory.cs
- CommonObjectSecurity.cs
- CreateUserWizardStep.cs
- TagMapInfo.cs
- ContextQuery.cs
- SafeUserTokenHandle.cs
- JulianCalendar.cs
- EntitySetBaseCollection.cs
- OdbcPermission.cs
- ToolStripTemplateNode.cs
- ValidatorCompatibilityHelper.cs
- MenuItemStyle.cs
- _LazyAsyncResult.cs
- TrackBar.cs
- InvokeSchedule.cs
- ProfileManager.cs
- EntityDataSourceViewSchema.cs
- EntryPointNotFoundException.cs
- XslAstAnalyzer.cs
- ToolBarButtonClickEvent.cs
- SectionInformation.cs
- FontEditor.cs
- ButtonRenderer.cs
- SapiRecoContext.cs
- TableAdapterManagerHelper.cs
- PreviewKeyDownEventArgs.cs