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
- Int16.cs
- BufferedGraphicsContext.cs
- MouseGestureConverter.cs
- StylusDownEventArgs.cs
- CodeThrowExceptionStatement.cs
- RelationshipEndCollection.cs
- TreeNode.cs
- TextElementEditingBehaviorAttribute.cs
- FastEncoderWindow.cs
- DeferredBinaryDeserializerExtension.cs
- hresults.cs
- CompiledAction.cs
- DataKey.cs
- SmiEventSink_Default.cs
- RegexCode.cs
- EditorZone.cs
- Roles.cs
- BlurBitmapEffect.cs
- ParameterElement.cs
- ColumnClickEvent.cs
- MemberJoinTreeNode.cs
- Section.cs
- XmlSchemaExporter.cs
- EntityDataSourceWrapper.cs
- HtmlAnchor.cs
- NullableDoubleAverageAggregationOperator.cs
- AtomMaterializer.cs
- QueueProcessor.cs
- DataBindingsDialog.cs
- TriggerActionCollection.cs
- XamlTypeMapper.cs
- IResourceProvider.cs
- UidPropertyAttribute.cs
- ViewStateException.cs
- DataObjectSettingDataEventArgs.cs
- HighContrastHelper.cs
- SqlDuplicator.cs
- RuleSettings.cs
- DataKeyCollection.cs
- CodeSnippetStatement.cs
- StringUtil.cs
- InternalResources.cs
- Exception.cs
- RegexCompilationInfo.cs
- Brush.cs
- CodeSubDirectoriesCollection.cs
- StrokeRenderer.cs
- SortedDictionary.cs
- HwndKeyboardInputProvider.cs
- XpsSerializerWriter.cs
- IntegerValidator.cs
- ToolboxItemCollection.cs
- SizeAnimationBase.cs
- PointAnimationBase.cs
- XmlAttributeCache.cs
- SessionPageStatePersister.cs
- CompositeDataBoundControl.cs
- ListViewSortEventArgs.cs
- MetadataItemCollectionFactory.cs
- WindowsTokenRoleProvider.cs
- Stroke2.cs
- FontDifferentiator.cs
- WinInetCache.cs
- Figure.cs
- SqlProvider.cs
- HtmlInputCheckBox.cs
- ACE.cs
- XmlDigitalSignatureProcessor.cs
- PeerCollaborationPermission.cs
- ScrollBar.cs
- XamlVector3DCollectionSerializer.cs
- AppSecurityManager.cs
- Panel.cs
- XmlnsCompatibleWithAttribute.cs
- IndexerNameAttribute.cs
- RayHitTestParameters.cs
- Span.cs
- NamedObject.cs
- Misc.cs
- SspiSafeHandles.cs
- XsltOutput.cs
- ProviderSettings.cs
- WarningException.cs
- NativeMethods.cs
- SecurityException.cs
- DetailsViewRowCollection.cs
- WeakRefEnumerator.cs
- SmtpCommands.cs
- RegexStringValidatorAttribute.cs
- WebHttpBehavior.cs
- DateTimeConverter2.cs
- DynamicDocumentPaginator.cs
- FixedSchema.cs
- ZipIOModeEnforcingStream.cs
- RawTextInputReport.cs
- FontStretch.cs
- InfoCardMasterKey.cs
- Stackframe.cs
- PersistChildrenAttribute.cs
- WebPartDisplayMode.cs