Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// Provides the reason for the Form close. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HwndSubclass.cs
- ControlPersister.cs
- SqlInfoMessageEvent.cs
- FunctionQuery.cs
- ByValueEqualityComparer.cs
- XmlNamespaceManager.cs
- SmtpNtlmAuthenticationModule.cs
- LogicalTreeHelper.cs
- DataGridHeaderBorder.cs
- MethodToken.cs
- XmlHierarchicalEnumerable.cs
- LinqDataSourceUpdateEventArgs.cs
- ArrayWithOffset.cs
- GenericRootAutomationPeer.cs
- FixedFindEngine.cs
- ClonableStack.cs
- ToolStripPanelCell.cs
- PropertyGridDesigner.cs
- TcpChannelHelper.cs
- EditingCoordinator.cs
- ApplicationHost.cs
- QuestionEventArgs.cs
- UnorderedHashRepartitionStream.cs
- TimeEnumHelper.cs
- LinqDataSourceEditData.cs
- HttpCookiesSection.cs
- PropertyOrder.cs
- ReferenceConverter.cs
- CodeValidator.cs
- TrustManagerPromptUI.cs
- EnumConverter.cs
- FlowDocumentFormatter.cs
- SqlClientWrapperSmiStreamChars.cs
- Matrix3DValueSerializer.cs
- OdbcInfoMessageEvent.cs
- DataBindingExpressionBuilder.cs
- XmlResolver.cs
- XmlSchemaSequence.cs
- CustomError.cs
- TemplateInstanceAttribute.cs
- FormViewUpdatedEventArgs.cs
- CodeSnippetStatement.cs
- BuiltInExpr.cs
- AuthorizationPolicyTypeElement.cs
- DataServiceQueryOfT.cs
- SecurityRuntime.cs
- _HeaderInfoTable.cs
- XPathException.cs
- ColorKeyFrameCollection.cs
- LicenseException.cs
- DictionaryGlobals.cs
- AspProxy.cs
- MoveSizeWinEventHandler.cs
- CompiledELinqQueryState.cs
- VectorAnimationUsingKeyFrames.cs
- MessageDecoder.cs
- HTMLTagNameToTypeMapper.cs
- DataGridViewDataErrorEventArgs.cs
- WebProxyScriptElement.cs
- EntityWithChangeTrackerStrategy.cs
- SqlAggregateChecker.cs
- TemplateBuilder.cs
- XamlPathDataSerializer.cs
- SecurityPermission.cs
- _ListenerResponseStream.cs
- AuthStoreRoleProvider.cs
- DateTime.cs
- HMACSHA512.cs
- SettingsAttributeDictionary.cs
- LogicalExpressionEditor.cs
- serverconfig.cs
- MediaElementAutomationPeer.cs
- ZipIOExtraFieldPaddingElement.cs
- TransactionFilter.cs
- SecurityTokenInclusionMode.cs
- TempEnvironment.cs
- CodeRegionDirective.cs
- Site.cs
- ViewStateModeByIdAttribute.cs
- DoubleConverter.cs
- TerminatorSinks.cs
- CaseInsensitiveHashCodeProvider.cs
- EasingQuaternionKeyFrame.cs
- DataGridViewHitTestInfo.cs
- RuntimeHandles.cs
- Menu.cs
- ExtendedPropertyInfo.cs
- OpenFileDialog.cs
- WinInet.cs
- XmlNullResolver.cs
- CompositionTarget.cs
- Figure.cs
- BooleanAnimationUsingKeyFrames.cs
- BindValidationContext.cs
- TableRowGroupCollection.cs
- UriTemplateTrieNode.cs
- GradientStop.cs
- HitTestParameters3D.cs
- CompiledRegexRunner.cs
- ChannelDispatcher.cs