Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DesignerCatalogPartChrome.cs
- PartitionerStatic.cs
- HexParser.cs
- PaperSource.cs
- AttributeUsageAttribute.cs
- AsynchronousChannelMergeEnumerator.cs
- DesignerTransaction.cs
- Multiply.cs
- StructuralObject.cs
- FragmentQueryProcessor.cs
- Aggregates.cs
- DecoratedNameAttribute.cs
- WebPartMovingEventArgs.cs
- ListViewTableRow.cs
- CryptoKeySecurity.cs
- IndexerReference.cs
- ArglessEventHandlerProxy.cs
- WrapPanel.cs
- QuaternionKeyFrameCollection.cs
- XmlAtomicValue.cs
- ToolboxComponentsCreatedEventArgs.cs
- SimpleNameService.cs
- CheckoutException.cs
- DynamicEntity.cs
- UnsafeCollabNativeMethods.cs
- TrackingProfileManager.cs
- StringFreezingAttribute.cs
- EncoderFallback.cs
- SamlConditions.cs
- TrackBarRenderer.cs
- AstTree.cs
- InvalidDataException.cs
- ColorIndependentAnimationStorage.cs
- ObjectDataSourceFilteringEventArgs.cs
- OdbcCommandBuilder.cs
- StylusSystemGestureEventArgs.cs
- ApplicationContext.cs
- SqlGatherConsumedAliases.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- SimpleBitVector32.cs
- NavigationExpr.cs
- PointValueSerializer.cs
- RegisteredScript.cs
- TypeUtils.cs
- WebEventTraceProvider.cs
- XmlSignatureManifest.cs
- BitConverter.cs
- Enlistment.cs
- Zone.cs
- LinqDataSourceInsertEventArgs.cs
- SQLBytesStorage.cs
- AssemblyFilter.cs
- DefaultTraceListener.cs
- EntitySetRetriever.cs
- MulticastOption.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- SortDescriptionCollection.cs
- SignatureGenerator.cs
- Ops.cs
- FigureParagraph.cs
- WindowsStreamSecurityBindingElement.cs
- UserInitiatedNavigationPermission.cs
- MemoryPressure.cs
- TextEffectCollection.cs
- ScalarRestriction.cs
- ColorConvertedBitmap.cs
- CodeDirectionExpression.cs
- MonitoringDescriptionAttribute.cs
- ResourceKey.cs
- X509IssuerSerialKeyIdentifierClause.cs
- PasswordBoxAutomationPeer.cs
- unsafenativemethodstextservices.cs
- ReadOnlyDictionary.cs
- NewItemsContextMenuStrip.cs
- CommonDialog.cs
- WebPartDeleteVerb.cs
- translator.cs
- TrustManager.cs
- WaitHandle.cs
- TdsEnums.cs
- Item.cs
- ArgumentElement.cs
- InnerItemCollectionView.cs
- httpstaticobjectscollection.cs
- PropertyInformationCollection.cs
- ReflectionTypeLoadException.cs
- NotFiniteNumberException.cs
- WebPartConnection.cs
- CompositionAdorner.cs
- NullableIntAverageAggregationOperator.cs
- OSFeature.cs
- ProbeMatchesApril2005.cs
- DataIdProcessor.cs
- SelectionEditingBehavior.cs
- CompiledAction.cs
- DbgCompiler.cs
- Journaling.cs
- DataGridDesigner.cs
- Rotation3D.cs
- VirtualStackFrame.cs