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
- DecoderExceptionFallback.cs
- ReferenceEqualityComparer.cs
- ObjectView.cs
- UInt64Storage.cs
- StateMachineWorkflowInstance.cs
- ReachDocumentPageSerializerAsync.cs
- XmlTextEncoder.cs
- JapaneseCalendar.cs
- ViewCellSlot.cs
- MenuRendererClassic.cs
- CatalogZone.cs
- HierarchicalDataTemplate.cs
- BoolExpr.cs
- PopOutPanel.cs
- HtmlEmptyTagControlBuilder.cs
- Set.cs
- BuildProviderUtils.cs
- DataFormats.cs
- InitializationEventAttribute.cs
- RtfToXamlLexer.cs
- EmissiveMaterial.cs
- ListView.cs
- XhtmlBasicPhoneCallAdapter.cs
- BaseValidator.cs
- TextFormatter.cs
- GridEntry.cs
- EntityDescriptor.cs
- TypeSystemHelpers.cs
- Publisher.cs
- SQLByte.cs
- ApplicationDirectoryMembershipCondition.cs
- Image.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DaylightTime.cs
- IMembershipProvider.cs
- _ListenerResponseStream.cs
- DataContractSerializerOperationGenerator.cs
- TableAdapterManagerNameHandler.cs
- WebResourceAttribute.cs
- ConsoleCancelEventArgs.cs
- EventListener.cs
- Viewport3DAutomationPeer.cs
- Soap.cs
- BinHexEncoder.cs
- HMAC.cs
- AppliesToBehaviorDecisionTable.cs
- ForeignKeyConstraint.cs
- ComponentConverter.cs
- FrameDimension.cs
- FloaterBaseParaClient.cs
- BStrWrapper.cs
- XmlSchemaSet.cs
- HwndSubclass.cs
- OleDbError.cs
- ValidateNames.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- DataGridItemCollection.cs
- UrlAuthorizationModule.cs
- PolicyValidationException.cs
- WebServiceTypeData.cs
- CompilationLock.cs
- DataGridPreparingCellForEditEventArgs.cs
- HierarchicalDataBoundControlAdapter.cs
- DbgCompiler.cs
- UnknownWrapper.cs
- DeclarationUpdate.cs
- SaveRecipientRequest.cs
- PolyLineSegment.cs
- RadioButtonRenderer.cs
- MessageSecurityException.cs
- TypeToken.cs
- Normalizer.cs
- CapabilitiesUse.cs
- FormatVersion.cs
- FocusManager.cs
- ServicePointManagerElement.cs
- PersonalizablePropertyEntry.cs
- XmlCharCheckingWriter.cs
- SourceItem.cs
- CombinedGeometry.cs
- CodeTypeDeclarationCollection.cs
- FrameSecurityDescriptor.cs
- Avt.cs
- TagPrefixCollection.cs
- ConfigurationCollectionAttribute.cs
- WSTransactionSection.cs
- validation.cs
- WindowsGraphics2.cs
- OdbcInfoMessageEvent.cs
- StreamHelper.cs
- DataGridViewTopLeftHeaderCell.cs
- EventLogger.cs
- UIElementCollection.cs
- HistoryEventArgs.cs
- GridItemProviderWrapper.cs
- HttpCookieCollection.cs
- TextTreeUndoUnit.cs
- DynamicILGenerator.cs
- ClientRuntimeConfig.cs
- RtfToXamlLexer.cs