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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OperationParameterInfo.cs
- HiddenFieldPageStatePersister.cs
- PerformanceCounterPermission.cs
- FixedHighlight.cs
- ScriptingWebServicesSectionGroup.cs
- _AutoWebProxyScriptWrapper.cs
- ServiceOperationParameter.cs
- Span.cs
- ConfigurationValidatorBase.cs
- AjaxFrameworkAssemblyAttribute.cs
- WebPartVerb.cs
- safemediahandle.cs
- Point3DAnimationUsingKeyFrames.cs
- NullableFloatAverageAggregationOperator.cs
- GPPOINT.cs
- Win32SafeHandles.cs
- CustomDictionarySources.cs
- WebPartsSection.cs
- Camera.cs
- Win32PrintDialog.cs
- StylusPoint.cs
- MapPathBasedVirtualPathProvider.cs
- RoleServiceManager.cs
- TableItemPattern.cs
- WhitespaceRuleReader.cs
- HttpStreamMessage.cs
- WebRequest.cs
- ZipPackage.cs
- WebPartMenu.cs
- ListViewContainer.cs
- BitmapData.cs
- Subset.cs
- ConnectionPoint.cs
- DragDropManager.cs
- UserControl.cs
- TypeDescriptionProviderAttribute.cs
- AttachInfo.cs
- XmlComment.cs
- SweepDirectionValidation.cs
- FunctionDefinition.cs
- XPathDocumentNavigator.cs
- DataShape.cs
- CodeIdentifiers.cs
- DelimitedListTraceListener.cs
- FontStretches.cs
- DispatcherExceptionFilterEventArgs.cs
- MachineKeySection.cs
- XmlToDatasetMap.cs
- BitmapVisualManager.cs
- RightsManagementEncryptedStream.cs
- PauseStoryboard.cs
- SubMenuStyleCollection.cs
- ListBase.cs
- HttpValueCollection.cs
- CodeGroup.cs
- XmlLangPropertyAttribute.cs
- Help.cs
- WindowsScrollBar.cs
- SqlDataSourceSummaryPanel.cs
- AbstractSvcMapFileLoader.cs
- TabItemWrapperAutomationPeer.cs
- Math.cs
- AppSettingsExpressionBuilder.cs
- ProtocolsConfiguration.cs
- PerfService.cs
- SqlConnectionPoolGroupProviderInfo.cs
- TextOnlyOutput.cs
- QueryOutputWriter.cs
- QuaternionConverter.cs
- DataGridItem.cs
- PersistenceTypeAttribute.cs
- DataQuery.cs
- WhiteSpaceTrimStringConverter.cs
- FaultContext.cs
- BookmarkTable.cs
- HttpStreams.cs
- XmlILConstructAnalyzer.cs
- LowerCaseStringConverter.cs
- VectorKeyFrameCollection.cs
- Logging.cs
- XmlValidatingReaderImpl.cs
- InterleavedZipPartStream.cs
- AnimationStorage.cs
- Geometry3D.cs
- MimeTypeAttribute.cs
- HttpResponseBase.cs
- OpenTypeLayoutCache.cs
- FilteredReadOnlyMetadataCollection.cs
- OleCmdHelper.cs
- QilGeneratorEnv.cs
- ScriptReference.cs
- FtpRequestCacheValidator.cs
- CategoryNameCollection.cs
- InstancePersistenceEvent.cs
- XmlLanguage.cs
- BrowserDefinitionCollection.cs
- UiaCoreTypesApi.cs
- Base64Stream.cs
- VBIdentifierTrimConverter.cs
- HandlerFactoryWrapper.cs