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
- HttpModuleActionCollection.cs
- TargetControlTypeCache.cs
- TdsValueSetter.cs
- TextStore.cs
- StandardOleMarshalObject.cs
- RegexTypeEditor.cs
- ConsumerConnectionPointCollection.cs
- EditorBrowsableAttribute.cs
- DesigntimeLicenseContext.cs
- DashStyle.cs
- RbTree.cs
- SessionPageStatePersister.cs
- ClientRolePrincipal.cs
- AxisAngleRotation3D.cs
- PathFigureCollectionConverter.cs
- TreeNodeClickEventArgs.cs
- MDIControlStrip.cs
- DrawingVisual.cs
- ConfigXmlAttribute.cs
- MenuItemBinding.cs
- LoadedOrUnloadedOperation.cs
- AutoResetEvent.cs
- LabelAutomationPeer.cs
- BoundsDrawingContextWalker.cs
- GraphicsContext.cs
- PathTooLongException.cs
- CategoryGridEntry.cs
- UpDownBase.cs
- Mouse.cs
- TreeViewImageKeyConverter.cs
- MetadataException.cs
- CustomErrorsSectionWrapper.cs
- MenuItemCollection.cs
- UpdatePanel.cs
- GraphicsState.cs
- RowsCopiedEventArgs.cs
- ExpressionParser.cs
- Rect.cs
- TypeForwardedFromAttribute.cs
- JsonByteArrayDataContract.cs
- WebResourceUtil.cs
- ComplexPropertyEntry.cs
- InfoCardAsymmetricCrypto.cs
- ByteFacetDescriptionElement.cs
- LinqDataSourceEditData.cs
- HostingPreferredMapPath.cs
- AttachedPropertyMethodSelector.cs
- DragDrop.cs
- ProjectedSlot.cs
- MediaElementAutomationPeer.cs
- MatrixIndependentAnimationStorage.cs
- DateTimeValueSerializer.cs
- COM2ComponentEditor.cs
- CoTaskMemUnicodeSafeHandle.cs
- FontStretch.cs
- AuthenticationManager.cs
- SmiMetaDataProperty.cs
- XmlDesignerDataSourceView.cs
- CodePropertyReferenceExpression.cs
- JavaScriptSerializer.cs
- CapabilitiesAssignment.cs
- EmptyReadOnlyDictionaryInternal.cs
- FixedSOMPageConstructor.cs
- ResXBuildProvider.cs
- Timer.cs
- WindowsAuthenticationEventArgs.cs
- EndpointDiscoveryElement.cs
- InkCanvas.cs
- UserPersonalizationStateInfo.cs
- PathFigure.cs
- HostExecutionContextManager.cs
- GlobalItem.cs
- storepermission.cs
- UnmanagedBitmapWrapper.cs
- Rfc4050KeyFormatter.cs
- ModelItem.cs
- MouseDevice.cs
- FrameSecurityDescriptor.cs
- FocusChangedEventArgs.cs
- DbConnectionStringBuilder.cs
- SettingsPropertyIsReadOnlyException.cs
- FacetDescriptionElement.cs
- ZipIOExtraFieldZip64Element.cs
- MethodInfo.cs
- EventEntry.cs
- UrlMappingsSection.cs
- OleDragDropHandler.cs
- TextContainerHelper.cs
- HideDisabledControlAdapter.cs
- DataRowCollection.cs
- BufferedWebEventProvider.cs
- MenuItemStyleCollection.cs
- GAC.cs
- InputLanguageEventArgs.cs
- PropertiesTab.cs
- EntityCommand.cs
- ReflectionPermission.cs
- MergeLocalizationDirectives.cs
- X509Certificate.cs
- HttpModuleActionCollection.cs