Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / FormClosingEvent.cs / 1305376 / 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
- UnionCqlBlock.cs
- StyleModeStack.cs
- RootDesignerSerializerAttribute.cs
- LoadedEvent.cs
- Marshal.cs
- IgnoreFileBuildProvider.cs
- ScriptingRoleServiceSection.cs
- Canvas.cs
- SerializationSectionGroup.cs
- ListViewDeleteEventArgs.cs
- BadImageFormatException.cs
- BaseEntityWrapper.cs
- SelectionRangeConverter.cs
- DataGridViewImageColumn.cs
- ContractComponent.cs
- ReadWriteSpinLock.cs
- CompositeActivityTypeDescriptor.cs
- NameTable.cs
- CacheForPrimitiveTypes.cs
- BindableTemplateBuilder.cs
- CompilerParameters.cs
- StringToken.cs
- RegexCompilationInfo.cs
- SystemFonts.cs
- Ref.cs
- ProtocolsSection.cs
- NavigationService.cs
- GlyphElement.cs
- RtfFormatStack.cs
- ContentPlaceHolder.cs
- CodeSnippetTypeMember.cs
- MethodImplAttribute.cs
- HitTestWithPointDrawingContextWalker.cs
- ConfigXmlElement.cs
- DetailsViewDeletedEventArgs.cs
- SettingsPropertyNotFoundException.cs
- TextRunTypographyProperties.cs
- Html32TextWriter.cs
- Viewport3DVisual.cs
- VisualBasicSettingsHandler.cs
- XmlValidatingReader.cs
- DiagnosticTraceSchemas.cs
- ResourceSetExpression.cs
- WmlCalendarAdapter.cs
- ExpressionBinding.cs
- MinimizableAttributeTypeConverter.cs
- HelpEvent.cs
- ParseHttpDate.cs
- PropertyTabAttribute.cs
- LockedActivityGlyph.cs
- TemplateXamlParser.cs
- __Filters.cs
- StreamedWorkflowDefinitionContext.cs
- __Filters.cs
- AncillaryOps.cs
- RowBinding.cs
- LoadedEvent.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- CaseInsensitiveOrdinalStringComparer.cs
- BaseComponentEditor.cs
- WorkflowMarkupSerializer.cs
- IgnoreFileBuildProvider.cs
- AsymmetricSignatureFormatter.cs
- GradientStopCollection.cs
- ZoneIdentityPermission.cs
- OracleException.cs
- DelegateBodyWriter.cs
- SHA384Managed.cs
- BuildProviderAppliesToAttribute.cs
- DebugView.cs
- GridView.cs
- BufferedWebEventProvider.cs
- CatchBlock.cs
- PlatformNotSupportedException.cs
- ContractInstanceProvider.cs
- CallbackException.cs
- TypeConverterHelper.cs
- DynamicResourceExtension.cs
- AttributeCollection.cs
- IPipelineRuntime.cs
- TransmissionStrategy.cs
- WaitingCursor.cs
- SiteMapDataSource.cs
- ReadOnlyDictionary.cs
- DelimitedListTraceListener.cs
- SignedXml.cs
- SqlBuilder.cs
- messageonlyhwndwrapper.cs
- CipherData.cs
- Attributes.cs
- PeerEndPoint.cs
- BitmapMetadataEnumerator.cs
- EntityViewContainer.cs
- ImageCreator.cs
- TreeViewImageKeyConverter.cs
- SystemPens.cs
- AppSettings.cs
- DataBindingCollection.cs
- SpecialTypeDataContract.cs
- NamespaceList.cs