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
- ToolStripDropTargetManager.cs
- UrlUtility.cs
- SchemaImporterExtensionsSection.cs
- UIElementCollection.cs
- ObjectDisposedException.cs
- TextElementAutomationPeer.cs
- NullableBoolConverter.cs
- ControlPaint.cs
- OdbcConnectionFactory.cs
- CodeTypeReferenceExpression.cs
- TextFormatterImp.cs
- ErrorHandlerModule.cs
- DataExpression.cs
- CacheEntry.cs
- SqlCacheDependencyDatabase.cs
- WorkflowIdleBehavior.cs
- XmlQueryCardinality.cs
- SupportingTokenBindingElement.cs
- OptimizedTemplateContent.cs
- AssociationTypeEmitter.cs
- ArithmeticException.cs
- ProfileBuildProvider.cs
- DoubleCollection.cs
- SectionInformation.cs
- VectorAnimationUsingKeyFrames.cs
- Pair.cs
- SplineKeyFrames.cs
- DataGridAutoFormat.cs
- PersonalizationStateInfoCollection.cs
- Rect3D.cs
- DesignerHelpers.cs
- CompositeFontInfo.cs
- ResolveResponse.cs
- SecureEnvironment.cs
- GeneralTransformGroup.cs
- DbConvert.cs
- CatalogZone.cs
- AudioLevelUpdatedEventArgs.cs
- DependencySource.cs
- BindingCollection.cs
- DataGridViewCellStyleBuilderDialog.cs
- MediaContextNotificationWindow.cs
- FontStretchConverter.cs
- ErrorProvider.cs
- TypeEnumerableViewSchema.cs
- XmlUtilWriter.cs
- BoundField.cs
- DashStyle.cs
- FormsAuthenticationUser.cs
- AsymmetricSignatureFormatter.cs
- Point.cs
- SystemWebExtensionsSectionGroup.cs
- dbenumerator.cs
- ControlAdapter.cs
- GenericTextProperties.cs
- FontWeight.cs
- Calendar.cs
- ItemType.cs
- Int32.cs
- SolidBrush.cs
- BamlTreeMap.cs
- DispatcherObject.cs
- FilterEventArgs.cs
- WebBrowserHelper.cs
- DataGridViewButtonColumn.cs
- DataListCommandEventArgs.cs
- BaseHashHelper.cs
- HostingEnvironmentException.cs
- MenuItem.cs
- WindowPatternIdentifiers.cs
- UdpDiscoveryEndpointProvider.cs
- StickyNoteContentControl.cs
- ObjectDataSourceMethodEventArgs.cs
- ScriptingScriptResourceHandlerSection.cs
- Bezier.cs
- QueryIntervalOp.cs
- ResourceReferenceExpressionConverter.cs
- KeyGesture.cs
- Section.cs
- Style.cs
- DataObjectPastingEventArgs.cs
- SynchronousChannel.cs
- WebBrowsableAttribute.cs
- DrawingCollection.cs
- CallbackValidator.cs
- GeneralTransformCollection.cs
- ThreadAttributes.cs
- ExpressionConverter.cs
- ImageAutomationPeer.cs
- PolicyValidationException.cs
- ControlUtil.cs
- ListBindingHelper.cs
- SmtpDateTime.cs
- SystemNetworkInterface.cs
- BitmapDownload.cs
- MarkupExtensionReturnTypeAttribute.cs
- MarkupObject.cs
- Int64AnimationUsingKeyFrames.cs
- oledbmetadatacolumnnames.cs
- smtpconnection.cs