Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// Provides the reason for the Form close. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DoubleAnimationUsingPath.cs
- InkCanvasSelection.cs
- CheckableControlBaseAdapter.cs
- XmlSerializableServices.cs
- InheritablePropertyChangeInfo.cs
- CollectionBuilder.cs
- PenThreadPool.cs
- SQLCharsStorage.cs
- CopyCodeAction.cs
- Track.cs
- OrderingExpression.cs
- XmlSchemaProviderAttribute.cs
- ManagedIStream.cs
- LinearQuaternionKeyFrame.cs
- DocumentViewerBaseAutomationPeer.cs
- ListCollectionView.cs
- AssemblyNameEqualityComparer.cs
- DeclarativeExpressionConditionDeclaration.cs
- SQLDouble.cs
- ColorComboBox.cs
- MenuItem.cs
- XmlILModule.cs
- GridViewDeleteEventArgs.cs
- XmlDataProvider.cs
- PresentationAppDomainManager.cs
- TypeConverterHelper.cs
- MemberRelationshipService.cs
- FontWeightConverter.cs
- DataGridCellsPanel.cs
- PersonalizablePropertyEntry.cs
- ParameterElement.cs
- DataGridViewRowPostPaintEventArgs.cs
- ToolboxItemAttribute.cs
- Image.cs
- DataGridViewColumnCollection.cs
- PackageFilter.cs
- StringExpressionSet.cs
- FtpRequestCacheValidator.cs
- ExceptionUtil.cs
- Storyboard.cs
- FontFamily.cs
- ZipArchive.cs
- PersonalizableTypeEntry.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Action.cs
- XDRSchema.cs
- SqlHelper.cs
- TileBrush.cs
- URLEditor.cs
- ProcessThreadCollection.cs
- FileEnumerator.cs
- XPathMessageFilter.cs
- ErrorInfoXmlDocument.cs
- Mappings.cs
- DocumentOrderQuery.cs
- TemplateBuilder.cs
- AnnotationObservableCollection.cs
- StorageComplexPropertyMapping.cs
- WindowsFormsLinkLabel.cs
- TrackingProfileSerializer.cs
- TextTreeFixupNode.cs
- InlineUIContainer.cs
- WebColorConverter.cs
- _Events.cs
- Size3D.cs
- DelegateSerializationHolder.cs
- MultitargetingHelpers.cs
- AliasedSlot.cs
- NamespaceQuery.cs
- StandardToolWindows.cs
- SchemaImporter.cs
- ObjectHelper.cs
- SetStateEventArgs.cs
- BaseCodePageEncoding.cs
- util.cs
- TypeHelper.cs
- OutKeywords.cs
- QueryExpression.cs
- AnnotationStore.cs
- ParallelQuery.cs
- UseAttributeSetsAction.cs
- Grant.cs
- NetworkStream.cs
- SelectionItemProviderWrapper.cs
- XPathEmptyIterator.cs
- BaseResourcesBuildProvider.cs
- KnownBoxes.cs
- AttachedProperty.cs
- Literal.cs
- OrderablePartitioner.cs
- TraceXPathNavigator.cs
- StatusBarPanelClickEvent.cs
- TextSegment.cs
- SystemEvents.cs
- TextSelectionHighlightLayer.cs
- CharacterMetrics.cs
- DataGridColumn.cs
- WebServiceEnumData.cs
- OneWayChannelFactory.cs
- ArcSegment.cs