Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / CancelEventArgs.cs / 1 / CancelEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class CancelEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// Indicates, on return, whether or not the operation should be cancelled /// or not. 'true' means cancel it, 'false' means don't. /// private bool cancel; ////// public CancelEventArgs() : this(false) { } ////// Initializes a new instance of the ///class with /// cancel set to . /// /// public CancelEventArgs(bool cancel) : base() { this.cancel = cancel; } ////// Initializes a new instance of the ///class with /// cancel set to the given value. /// /// public bool Cancel { get { return cancel; } set { this.cancel = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets a value /// indicating whether the operation should be cancelled. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class CancelEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// Indicates, on return, whether or not the operation should be cancelled /// or not. 'true' means cancel it, 'false' means don't. /// private bool cancel; ////// public CancelEventArgs() : this(false) { } ////// Initializes a new instance of the ///class with /// cancel set to . /// /// public CancelEventArgs(bool cancel) : base() { this.cancel = cancel; } ////// Initializes a new instance of the ///class with /// cancel set to the given value. /// /// public bool Cancel { get { return cancel; } set { this.cancel = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets a value /// indicating whether the operation should be cancelled. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StrongName.cs
- CompatibleComparer.cs
- WeakRefEnumerator.cs
- Transform.cs
- SafeRightsManagementPubHandle.cs
- QueryStringParameter.cs
- Calendar.cs
- AppearanceEditorPart.cs
- ErrorProvider.cs
- ValidatingCollection.cs
- HttpCacheVaryByContentEncodings.cs
- PageHandlerFactory.cs
- versioninfo.cs
- SHA512Managed.cs
- ClientSideProviderDescription.cs
- PanelDesigner.cs
- CodeDelegateCreateExpression.cs
- Empty.cs
- DelegateHelpers.cs
- CompositeFontInfo.cs
- SplitterEvent.cs
- TargetConverter.cs
- VScrollBar.cs
- ItemPager.cs
- PageHandlerFactory.cs
- WsdlInspector.cs
- QilStrConcat.cs
- WCFBuildProvider.cs
- MetafileHeaderWmf.cs
- AnimationException.cs
- MexNamedPipeBindingCollectionElement.cs
- ArgumentElement.cs
- Vector.cs
- MultiViewDesigner.cs
- WindowsClaimSet.cs
- ConnectivityStatus.cs
- ThreadStartException.cs
- PoisonMessageException.cs
- StringCollection.cs
- MsmqInputChannelBase.cs
- DictionaryEntry.cs
- oledbmetadatacollectionnames.cs
- SQLDecimalStorage.cs
- StringValidatorAttribute.cs
- ByteAnimationUsingKeyFrames.cs
- BitmapCodecInfo.cs
- DataBoundControlParameterTarget.cs
- TreeBuilder.cs
- TagPrefixCollection.cs
- BooleanExpr.cs
- SimpleBitVector32.cs
- HitTestDrawingContextWalker.cs
- HtmlEmptyTagControlBuilder.cs
- ErrorStyle.cs
- MemoryMappedViewAccessor.cs
- Classification.cs
- UInt32Storage.cs
- ContentElementCollection.cs
- SystemColors.cs
- InvalidOperationException.cs
- TableSectionStyle.cs
- ThrowHelper.cs
- UnmanagedMemoryStream.cs
- BaseDataList.cs
- ServiceElementCollection.cs
- DbConnectionPoolGroupProviderInfo.cs
- dsa.cs
- OdbcConnectionPoolProviderInfo.cs
- PenContexts.cs
- SerTrace.cs
- EventPropertyMap.cs
- WebBrowser.cs
- GatewayDefinition.cs
- future.cs
- DesignerActionVerbItem.cs
- CellLabel.cs
- EntityProxyTypeInfo.cs
- ContentPropertyAttribute.cs
- StateManager.cs
- X509ChainElement.cs
- BaseCodePageEncoding.cs
- SharedStatics.cs
- CancelEventArgs.cs
- NetworkInterface.cs
- CompiledScopeCriteria.cs
- ImageSourceConverter.cs
- LeaseManager.cs
- InputGestureCollection.cs
- GridViewPageEventArgs.cs
- EntityDataSourceWrapper.cs
- GlobalizationAssembly.cs
- ConfigXmlWhitespace.cs
- ForeignKeyConstraint.cs
- BindingListCollectionView.cs
- DoubleCollection.cs
- HtmlInputFile.cs
- EventRouteFactory.cs
- RuntimeArgumentHandle.cs
- Stacktrace.cs
- LinkLabel.cs