Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SspiWrapper.cs
- WebPartMinimizeVerb.cs
- TextSelection.cs
- TextElementEnumerator.cs
- FileSystemInfo.cs
- _KerberosClient.cs
- PointHitTestResult.cs
- ApplicationManager.cs
- ProviderCommandInfoUtils.cs
- DataColumnCollection.cs
- SqlConnectionStringBuilder.cs
- XmlParserContext.cs
- RowParagraph.cs
- HttpCacheParams.cs
- Opcode.cs
- ClientTarget.cs
- DataTableCollection.cs
- SelectedGridItemChangedEvent.cs
- XmlSortKeyAccumulator.cs
- rsa.cs
- ControlCommandSet.cs
- CompiledQuery.cs
- MetadataPropertyCollection.cs
- ScrollItemPattern.cs
- VisualBrush.cs
- ForceCopyBuildProvider.cs
- SystemResources.cs
- HttpCookie.cs
- BooleanToVisibilityConverter.cs
- DataServiceQueryException.cs
- SystemResourceHost.cs
- ThreadStateException.cs
- CompiledELinqQueryState.cs
- ZipIOModeEnforcingStream.cs
- RawStylusSystemGestureInputReport.cs
- TypeNameConverter.cs
- EntryWrittenEventArgs.cs
- VectorValueSerializer.cs
- BlockCollection.cs
- _LocalDataStoreMgr.cs
- ChtmlCommandAdapter.cs
- GPRECT.cs
- User.cs
- SoapFault.cs
- QueryTaskGroupState.cs
- ToolboxComponentsCreatingEventArgs.cs
- EntitySqlQueryState.cs
- SystemMulticastIPAddressInformation.cs
- TypefaceMap.cs
- SpeechRecognitionEngine.cs
- sapiproxy.cs
- SqlTriggerContext.cs
- BindingExpressionBase.cs
- ToolTipService.cs
- SqlDuplicator.cs
- EncryptedKey.cs
- IndexerHelper.cs
- DataBoundControlHelper.cs
- CompilerLocalReference.cs
- SQLDateTime.cs
- ConditionalDesigner.cs
- SuppressMessageAttribute.cs
- XmlLangPropertyAttribute.cs
- CharacterMetricsDictionary.cs
- EntityDataSourceStatementEditor.cs
- UrlPath.cs
- Debug.cs
- BrowserDefinition.cs
- SkinBuilder.cs
- CopyCodeAction.cs
- DurationConverter.cs
- MulticastDelegate.cs
- DataBindingValueUIHandler.cs
- MenuRendererClassic.cs
- FunctionNode.cs
- ManipulationLogic.cs
- ArraySegment.cs
- PEFileReader.cs
- MenuCommands.cs
- ParseHttpDate.cs
- HtmlHead.cs
- MergeFailedEvent.cs
- HtmlWindow.cs
- SiteOfOriginPart.cs
- TypedRowGenerator.cs
- InlineCollection.cs
- WindowsListViewGroup.cs
- Pen.cs
- ComponentResourceManager.cs
- SafeEventLogWriteHandle.cs
- FormView.cs
- MainMenu.cs
- CollectionType.cs
- NameService.cs
- StylusPointPropertyInfo.cs
- _UriSyntax.cs
- SplineKeyFrames.cs
- ProfileInfo.cs
- XmlnsDictionary.cs
- TreeNodeStyle.cs