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
- ResourceDictionaryCollection.cs
- StringReader.cs
- MetadataPropertyvalue.cs
- ApplicationId.cs
- Object.cs
- TextTabProperties.cs
- ConfigurationLocation.cs
- ConfigurationPermission.cs
- SecUtil.cs
- AesCryptoServiceProvider.cs
- DecoderReplacementFallback.cs
- DesignerGeometryHelper.cs
- DataGridViewControlCollection.cs
- RegexCapture.cs
- ListViewCancelEventArgs.cs
- XmlSchemaExternal.cs
- CachedFontFamily.cs
- HashHelper.cs
- Semaphore.cs
- GridViewSortEventArgs.cs
- TextTreeTextNode.cs
- RegisteredHiddenField.cs
- ListViewUpdatedEventArgs.cs
- SaveFileDialogDesigner.cs
- OleDbCommand.cs
- PropertyTabChangedEvent.cs
- WinFormsUtils.cs
- HGlobalSafeHandle.cs
- _CookieModule.cs
- MimeWriter.cs
- UnauthorizedWebPart.cs
- PeerCollaborationPermission.cs
- FamilyCollection.cs
- ImageFormat.cs
- OptimalTextSource.cs
- DependencyPropertyValueSerializer.cs
- ExtenderProvidedPropertyAttribute.cs
- metadatamappinghashervisitor.cs
- COM2ComponentEditor.cs
- DoubleAnimation.cs
- EventTask.cs
- AbsoluteQuery.cs
- DetailsViewModeEventArgs.cs
- SoapProtocolReflector.cs
- ProcessHostConfigUtils.cs
- DynamicDiscoSearcher.cs
- AsyncContentLoadedEventArgs.cs
- FunctionParameter.cs
- DataServiceExpressionVisitor.cs
- NativeMethods.cs
- DetailsViewDeleteEventArgs.cs
- InputReport.cs
- ObjectParameter.cs
- Internal.cs
- prompt.cs
- DateTimeFormatInfoScanner.cs
- SystemMulticastIPAddressInformation.cs
- ModelFunction.cs
- TypeHelpers.cs
- DataRelationPropertyDescriptor.cs
- AtomicFile.cs
- CmsInterop.cs
- OpenFileDialog.cs
- Triplet.cs
- SiteMapNodeCollection.cs
- AddInAttribute.cs
- RuntimeHelpers.cs
- FlagsAttribute.cs
- DesignSurfaceEvent.cs
- WebPartEditorApplyVerb.cs
- PropertyChange.cs
- selecteditemcollection.cs
- ReadContentAsBinaryHelper.cs
- ControlPaint.cs
- documentsequencetextpointer.cs
- PermissionAttributes.cs
- AccessText.cs
- InsufficientMemoryException.cs
- PeerApplication.cs
- DrawingDrawingContext.cs
- IdentityReference.cs
- ScrollBar.cs
- ErrorWrapper.cs
- LogEntry.cs
- WebPartTransformerCollection.cs
- DBConnection.cs
- CompiledQuery.cs
- RotateTransform3D.cs
- Line.cs
- VisualStyleInformation.cs
- ProjectionNode.cs
- BitStack.cs
- SqlPersonalizationProvider.cs
- SafeViewOfFileHandle.cs
- securestring.cs
- TableLayoutCellPaintEventArgs.cs
- CaretElement.cs
- DataFormats.cs
- SettingsPropertyNotFoundException.cs
- PartialArray.cs