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
- ColorConvertedBitmapExtension.cs
- CodeDOMUtility.cs
- DataGridViewCellStyleConverter.cs
- CodeMemberMethod.cs
- RightNameExpirationInfoPair.cs
- WsdlBuildProvider.cs
- TextPointerBase.cs
- CategoryNameCollection.cs
- ISCIIEncoding.cs
- XmlIlVisitor.cs
- HttpCapabilitiesBase.cs
- TimeSpanFormat.cs
- CompilationSection.cs
- DoubleStorage.cs
- InternalsVisibleToAttribute.cs
- PersonalizableAttribute.cs
- DATA_BLOB.cs
- InternalConfigRoot.cs
- SuppressMessageAttribute.cs
- ClientData.cs
- MembershipSection.cs
- DataBoundControl.cs
- DataTableMappingCollection.cs
- HeaderElement.cs
- DataGridBoolColumn.cs
- XamlGridLengthSerializer.cs
- TranslateTransform.cs
- SqlTransaction.cs
- DataGridViewAdvancedBorderStyle.cs
- Debug.cs
- QilTernary.cs
- ModelUIElement3D.cs
- CharEntityEncoderFallback.cs
- NamespaceListProperty.cs
- ProtocolViolationException.cs
- SrgsDocumentParser.cs
- AppliedDeviceFiltersDialog.cs
- Comparer.cs
- SchemaElementLookUpTableEnumerator.cs
- TableCellCollection.cs
- WebBaseEventKeyComparer.cs
- DataExchangeServiceBinder.cs
- DBNull.cs
- BitmapSourceSafeMILHandle.cs
- ControlAdapter.cs
- Authorization.cs
- KeyboardDevice.cs
- SymbolType.cs
- PanelContainerDesigner.cs
- NullableIntMinMaxAggregationOperator.cs
- AssemblyName.cs
- SerializableAttribute.cs
- PropertyStore.cs
- XmlMapping.cs
- CellParagraph.cs
- CommentAction.cs
- Brush.cs
- AspNetHostingPermission.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- Blend.cs
- SafeThreadHandle.cs
- BigInt.cs
- COM2ExtendedUITypeEditor.cs
- XmlArrayItemAttributes.cs
- QueryContinueDragEventArgs.cs
- DeleteMemberBinder.cs
- EdmItemCollection.cs
- SelectionList.cs
- MimeTypeAttribute.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- FullTextBreakpoint.cs
- PeerResolverElement.cs
- HtmlDocument.cs
- DesignerWidgets.cs
- ExpressionPrefixAttribute.cs
- DataServiceExpressionVisitor.cs
- Encoder.cs
- DataGridViewRowEventArgs.cs
- CodeParameterDeclarationExpression.cs
- SystemIPv4InterfaceProperties.cs
- _LazyAsyncResult.cs
- SettingsAttributes.cs
- BamlTreeNode.cs
- SmiTypedGetterSetter.cs
- BasicHttpMessageSecurityElement.cs
- DescendantQuery.cs
- BaseProcessProtocolHandler.cs
- QueryHandler.cs
- StringExpressionSet.cs
- __ConsoleStream.cs
- BinaryUtilClasses.cs
- MouseEventArgs.cs
- DocumentApplication.cs
- CategoryAttribute.cs
- BitmapEffectvisualstate.cs
- CachedPathData.cs
- QualificationDataAttribute.cs
- CodeRegionDirective.cs
- TiffBitmapEncoder.cs
- FigureParagraph.cs