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
- File.cs
- _Connection.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- FilteredDataSetHelper.cs
- DataGridViewCellStyleChangedEventArgs.cs
- XmlElement.cs
- HotCommands.cs
- SafeHandles.cs
- ScriptReferenceEventArgs.cs
- CreateParams.cs
- SqlWorkflowPersistenceService.cs
- MeasureItemEvent.cs
- WebPartDeleteVerb.cs
- QilLoop.cs
- LowerCaseStringConverter.cs
- SqlClientFactory.cs
- ActivityXRefPropertyEditor.cs
- DataGridSortCommandEventArgs.cs
- DataGridViewRowsAddedEventArgs.cs
- FileClassifier.cs
- SimpleRecyclingCache.cs
- StrokeCollectionDefaultValueFactory.cs
- RemotingServices.cs
- DataGridViewCellConverter.cs
- OperationParameterInfo.cs
- KeyConverter.cs
- SystemDropShadowChrome.cs
- Delay.cs
- ClientBuildManagerCallback.cs
- PermissionSetTriple.cs
- EventRouteFactory.cs
- Expressions.cs
- OleDbConnection.cs
- CodeArgumentReferenceExpression.cs
- AssemblyAttributesGoHere.cs
- AssemblyInfo.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- EncodedStreamFactory.cs
- BamlResourceContent.cs
- TriggerBase.cs
- PropertyItemInternal.cs
- XmlQueryTypeFactory.cs
- TrimSurroundingWhitespaceAttribute.cs
- ISFTagAndGuidCache.cs
- SqlProfileProvider.cs
- GridItem.cs
- nulltextnavigator.cs
- QueryableDataSource.cs
- ItemChangedEventArgs.cs
- CodeAttributeDeclarationCollection.cs
- NullEntityWrapper.cs
- TextServicesHost.cs
- EtwTrackingBehavior.cs
- FamilyMapCollection.cs
- LinkedList.cs
- CaseInsensitiveComparer.cs
- HttpCacheParams.cs
- ZoneLinkButton.cs
- CompatibleIComparer.cs
- FollowerQueueCreator.cs
- Vector3DAnimationUsingKeyFrames.cs
- DataFormat.cs
- Hex.cs
- AuthenticationService.cs
- COM2PictureConverter.cs
- IncrementalCompileAnalyzer.cs
- File.cs
- FrameworkPropertyMetadata.cs
- PenContexts.cs
- GridViewColumnHeaderAutomationPeer.cs
- SimpleMailWebEventProvider.cs
- RtfControlWordInfo.cs
- EntityWithKeyStrategy.cs
- DebugControllerThread.cs
- FacetValueContainer.cs
- WebAdminConfigurationHelper.cs
- GeometryGroup.cs
- ScrollChrome.cs
- MaskedTextBox.cs
- SeverityFilter.cs
- ZipIOLocalFileHeader.cs
- CompositeActivityMarkupSerializer.cs
- AlphabeticalEnumConverter.cs
- Polyline.cs
- ObjectDataSourceMethodEditor.cs
- MiniMapControl.xaml.cs
- SpellerStatusTable.cs
- DataSourceViewSchemaConverter.cs
- ComponentEditorPage.cs
- JoinGraph.cs
- LayoutTable.cs
- objectquery_tresulttype.cs
- DbFunctionCommandTree.cs
- XmlSchemaComplexContentExtension.cs
- FieldReference.cs
- StylusEventArgs.cs
- SecurityKeyType.cs
- AutomationFocusChangedEventArgs.cs
- __ComObject.cs
- Quad.cs