Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- MouseButton.cs
- SecurityPermission.cs
- ApplicationGesture.cs
- XpsFont.cs
- SecurityRuntime.cs
- CapabilitiesUse.cs
- TypeProvider.cs
- SafeHandle.cs
- CalendarDataBindingHandler.cs
- ScriptServiceAttribute.cs
- BinaryExpression.cs
- StringFreezingAttribute.cs
- ThreadInterruptedException.cs
- MsmqQueue.cs
- CommentEmitter.cs
- RecognizedPhrase.cs
- ImageDrawing.cs
- ApplicationDirectory.cs
- ToolStripSplitButton.cs
- XmlArrayItemAttributes.cs
- MonitoringDescriptionAttribute.cs
- DashStyle.cs
- SettingsBase.cs
- EUCJPEncoding.cs
- TablePatternIdentifiers.cs
- MediaTimeline.cs
- ScaleTransform3D.cs
- MaskedTextBox.cs
- TextOptionsInternal.cs
- FragmentQueryProcessor.cs
- Codec.cs
- _SSPISessionCache.cs
- EntityDataSourceQueryBuilder.cs
- TemplateInstanceAttribute.cs
- CompoundFileReference.cs
- SegmentInfo.cs
- MainMenu.cs
- PeerUnsafeNativeCryptMethods.cs
- listitem.cs
- WpfGeneratedKnownProperties.cs
- PageAsyncTaskManager.cs
- Model3D.cs
- WSSecurityPolicy.cs
- ExpressionBuilderCollection.cs
- DataControlPagerLinkButton.cs
- _NativeSSPI.cs
- XmlObjectSerializerReadContextComplex.cs
- MD5CryptoServiceProvider.cs
- XmlSchemaExternal.cs
- DocumentReferenceCollection.cs
- AnimationClockResource.cs
- ImageListUtils.cs
- Quaternion.cs
- ForceCopyBuildProvider.cs
- DbConnectionPoolOptions.cs
- ObjectDataSource.cs
- PropertyDescriptor.cs
- VisualTreeUtils.cs
- HealthMonitoringSection.cs
- NativeMethods.cs
- XmlResolver.cs
- IpcChannel.cs
- SystemSounds.cs
- VisualBrush.cs
- ManifestResourceInfo.cs
- ServiceOperation.cs
- SizeChangedInfo.cs
- CodeAttributeArgument.cs
- TextBoxAutomationPeer.cs
- SiteMapPath.cs
- OleDbSchemaGuid.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- DataControlReference.cs
- InvalidOleVariantTypeException.cs
- WmlPageAdapter.cs
- DataSourceSerializationException.cs
- MasterPageCodeDomTreeGenerator.cs
- LocalBuilder.cs
- WarningException.cs
- TimeSpanSecondsConverter.cs
- EmptyEnumerator.cs
- LinkLabelLinkClickedEvent.cs
- xmlfixedPageInfo.cs
- ToolStripDropDownClosedEventArgs.cs
- FreezableDefaultValueFactory.cs
- HandlerFactoryWrapper.cs
- WebBrowserProgressChangedEventHandler.cs
- RedistVersionInfo.cs
- EntityContainerEmitter.cs
- ConstrainedDataObject.cs
- ModuleConfigurationInfo.cs
- PointUtil.cs
- WindowsRichEdit.cs
- CodeIndexerExpression.cs
- DataObjectFieldAttribute.cs
- oledbmetadatacollectionnames.cs
- SqlTypesSchemaImporter.cs
- XmlnsDictionary.cs
- hwndwrapper.cs
- DbMetaDataCollectionNames.cs