Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Camera.cs
- FamilyTypefaceCollection.cs
- LeftCellWrapper.cs
- FloaterBaseParagraph.cs
- CodeSubDirectoriesCollection.cs
- ViewGenerator.cs
- Transactions.cs
- StringInfo.cs
- PtsHelper.cs
- GlyphCollection.cs
- ToolStripDropDown.cs
- JsonDataContract.cs
- ExpressionLexer.cs
- RowToFieldTransformer.cs
- KnownBoxes.cs
- PointCollectionConverter.cs
- SoapEnumAttribute.cs
- TreeViewDataItemAutomationPeer.cs
- LingerOption.cs
- XmlComment.cs
- ReadOnlyDataSourceView.cs
- UIPropertyMetadata.cs
- ImageField.cs
- DiscoveryService.cs
- ComEventsInfo.cs
- Parameter.cs
- CatalogZoneBase.cs
- LinqDataView.cs
- _TimerThread.cs
- SqlTrackingWorkflowInstance.cs
- ValidatingPropertiesEventArgs.cs
- KeyPressEvent.cs
- FileSystemEventArgs.cs
- StylusShape.cs
- PrePrepareMethodAttribute.cs
- DataReaderContainer.cs
- PlatformCulture.cs
- LocalizableAttribute.cs
- Documentation.cs
- LayoutDump.cs
- ScriptResourceAttribute.cs
- CustomAttribute.cs
- XmlCharCheckingReader.cs
- TabletDeviceInfo.cs
- HttpApplicationFactory.cs
- NameTable.cs
- InkCanvasSelection.cs
- UpDownBaseDesigner.cs
- X509ChainPolicy.cs
- Graphics.cs
- ResourceLoader.cs
- BrowserDefinitionCollection.cs
- DefaultHttpHandler.cs
- StateRuntime.cs
- DirectoryGroupQuery.cs
- DataTableReader.cs
- CompatibleIComparer.cs
- PingReply.cs
- BindingMAnagerBase.cs
- PointLightBase.cs
- SmtpReplyReader.cs
- AssemblyAssociatedContentFileAttribute.cs
- UnconditionalPolicy.cs
- ToolStripPanelRow.cs
- ViewManagerAttribute.cs
- KeyValueSerializer.cs
- X509Utils.cs
- _LazyAsyncResult.cs
- SymLanguageType.cs
- loginstatus.cs
- Form.cs
- RotateTransform3D.cs
- EdmTypeAttribute.cs
- IntellisenseTextBox.cs
- CriticalExceptions.cs
- BooleanAnimationUsingKeyFrames.cs
- TypeForwardedFromAttribute.cs
- ResXResourceReader.cs
- CancellationTokenSource.cs
- objectquery_tresulttype.cs
- ToolStripItemDataObject.cs
- SizeChangedInfo.cs
- FlowDocumentReader.cs
- PropertyDescriptorCollection.cs
- XmlIlVisitor.cs
- DispatcherExceptionFilterEventArgs.cs
- BitmapFrameEncode.cs
- MimeWriter.cs
- Trustee.cs
- DefinitionBase.cs
- ProfileSection.cs
- SpoolingTask.cs
- ToolStripManager.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ConfigurationManagerHelper.cs
- RootContext.cs
- XmlImplementation.cs
- XmlUrlEditor.cs
- AccessDataSourceView.cs
- WindowsTooltip.cs