Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FlagsAttribute.cs
- PrimitiveDataContract.cs
- RegexReplacement.cs
- GenerateHelper.cs
- SqlDataSourceEnumerator.cs
- EntitySqlQueryCacheEntry.cs
- ObjectAssociationEndMapping.cs
- httpserverutility.cs
- ClientConfigPaths.cs
- Menu.cs
- RegexParser.cs
- ElementProxy.cs
- Matrix3DStack.cs
- AvTrace.cs
- MultiPropertyDescriptorGridEntry.cs
- ChangeProcessor.cs
- VersionConverter.cs
- ImageField.cs
- RuntimeIdentifierPropertyAttribute.cs
- XmlWrappingReader.cs
- MachinePropertyVariants.cs
- ByteArrayHelperWithString.cs
- CqlGenerator.cs
- XamlSerializerUtil.cs
- HeaderCollection.cs
- StyleModeStack.cs
- ToolStripItemImageRenderEventArgs.cs
- RectangleGeometry.cs
- PrintDialog.cs
- DiscoveryRequestHandler.cs
- PtsHost.cs
- TransactionFlowOption.cs
- AssemblyResourceLoader.cs
- MetaColumn.cs
- CharAnimationBase.cs
- GeometryDrawing.cs
- WebPartManagerInternals.cs
- ServiceTimeoutsElement.cs
- TrackingWorkflowEventArgs.cs
- FlowLayoutPanelDesigner.cs
- NTAccount.cs
- PointCollection.cs
- BufferedWebEventProvider.cs
- ComPlusServiceHost.cs
- SmtpAuthenticationManager.cs
- LateBoundBitmapDecoder.cs
- TemplateControlParser.cs
- XmlSchemaAttributeGroupRef.cs
- ExternalCalls.cs
- HMACSHA1.cs
- AutoGeneratedField.cs
- AvTraceDetails.cs
- HwndSubclass.cs
- DefaultPropertyAttribute.cs
- SkewTransform.cs
- LocalizedNameDescriptionPair.cs
- XmlComment.cs
- ApplicationServiceManager.cs
- WindowClosedEventArgs.cs
- SmtpException.cs
- ReadWriteSpinLock.cs
- DelayedRegex.cs
- CodeExporter.cs
- OleDbCommandBuilder.cs
- TextBox.cs
- BinaryReader.cs
- mactripleDES.cs
- WebPartZone.cs
- CustomAttributeBuilder.cs
- CheckBoxBaseAdapter.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TableLayoutPanel.cs
- ApplicationDirectory.cs
- GradientStop.cs
- StringUtil.cs
- UnmanagedMemoryStream.cs
- FlowDocumentView.cs
- ProfilePropertySettingsCollection.cs
- XamlFigureLengthSerializer.cs
- SortableBindingList.cs
- CaseInsensitiveHashCodeProvider.cs
- EditingCoordinator.cs
- SessionMode.cs
- ADMembershipProvider.cs
- ComponentEditorPage.cs
- _TLSstream.cs
- SplashScreen.cs
- ConfigurationCollectionAttribute.cs
- GeneralTransform3D.cs
- LogPolicy.cs
- HostedImpersonationContext.cs
- HttpRuntimeSection.cs
- ZipFileInfo.cs
- DeferredReference.cs
- SerialErrors.cs
- PeerResolver.cs
- TraceRecord.cs
- RegexFCD.cs
- TextEditor.cs
- ActivityExecutorDelegateInfo.cs