Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / CancelEventArgs.cs / 1305376 / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CustomErrorsSectionWrapper.cs
- CompositeKey.cs
- ByeMessage11.cs
- OleDbReferenceCollection.cs
- XmlSchemaDatatype.cs
- EditingCoordinator.cs
- PolyBezierSegment.cs
- TreeBuilder.cs
- Number.cs
- ClientCredentials.cs
- ClientProxyGenerator.cs
- ActiveXHost.cs
- ItemDragEvent.cs
- Error.cs
- ConfigXmlText.cs
- X509Certificate2Collection.cs
- Listbox.cs
- Behavior.cs
- ComAdminWrapper.cs
- ComponentConverter.cs
- ParseNumbers.cs
- CrossSiteScriptingValidation.cs
- SQLBoolean.cs
- XmlComplianceUtil.cs
- PackageRelationship.cs
- ScrollChrome.cs
- ButtonChrome.cs
- EventProviderClassic.cs
- FormViewCommandEventArgs.cs
- ServiceModelConfiguration.cs
- ImageMap.cs
- UnsafeNativeMethods.cs
- StaticContext.cs
- QueryCacheKey.cs
- MetabaseSettings.cs
- ArrangedElementCollection.cs
- ToolStripPanelSelectionBehavior.cs
- Expander.cs
- GroupByExpressionRewriter.cs
- ContentElementCollection.cs
- RuntimeConfigurationRecord.cs
- WrappedReader.cs
- SystemNetHelpers.cs
- ColorMap.cs
- XamlSerializerUtil.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- MetricEntry.cs
- ADConnectionHelper.cs
- ComAdminWrapper.cs
- ImagingCache.cs
- AssemblyInfo.cs
- UniqueConstraint.cs
- NetworkInterface.cs
- PassportAuthentication.cs
- CompiledXpathExpr.cs
- DataColumnChangeEvent.cs
- HTTPNotFoundHandler.cs
- EventProviderTraceListener.cs
- TextContainerChangeEventArgs.cs
- Win32MouseDevice.cs
- ClientTargetSection.cs
- EnlistmentTraceIdentifier.cs
- MSAANativeProvider.cs
- ColorContextHelper.cs
- SHA1CryptoServiceProvider.cs
- ResourcesGenerator.cs
- DataKey.cs
- ErrorActivity.cs
- TemplateColumn.cs
- IntSecurity.cs
- PartialTrustVisibleAssemblyCollection.cs
- Trace.cs
- Renderer.cs
- EnumerableCollectionView.cs
- SRef.cs
- WinEventTracker.cs
- VarRefManager.cs
- ErrorCodes.cs
- CancellationScope.cs
- InputProcessorProfilesLoader.cs
- SinglePhaseEnlistment.cs
- ApplicationSecurityManager.cs
- PartialTrustValidationBehavior.cs
- ValuePattern.cs
- ExpandSegment.cs
- FilterEventArgs.cs
- HandlerBase.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Terminate.cs
- AsyncPostBackTrigger.cs
- ListQueryResults.cs
- DbProviderFactoriesConfigurationHandler.cs
- TreeView.cs
- PiiTraceSource.cs
- ReturnEventArgs.cs
- NameNode.cs
- ComponentChangingEvent.cs
- RequestCacheValidator.cs
- SRGSCompiler.cs
- SerializationInfoEnumerator.cs