Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- TextTreeTextBlock.cs
- TransactionContextValidator.cs
- GenericAuthenticationEventArgs.cs
- SoapSchemaImporter.cs
- QuaternionAnimationUsingKeyFrames.cs
- ToolStripLocationCancelEventArgs.cs
- QilXmlReader.cs
- XpsSerializationManagerAsync.cs
- TransactionInformation.cs
- NotCondition.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- SqlUtil.cs
- ColorConverter.cs
- FileDialogCustomPlace.cs
- AdPostCacheSubstitution.cs
- ProfilePropertySettings.cs
- GenericUriParser.cs
- TextEmbeddedObject.cs
- SqlDataSourceCache.cs
- FaultBookmark.cs
- DiscoveryCallbackBehavior.cs
- CryptoApi.cs
- HttpServerProtocol.cs
- FixedMaxHeap.cs
- DataGridViewColumnEventArgs.cs
- Exceptions.cs
- GlobalizationSection.cs
- HeaderedContentControl.cs
- ListSortDescription.cs
- SystemPens.cs
- MediaPlayerState.cs
- Size.cs
- RuntimeCompatibilityAttribute.cs
- SourceFileInfo.cs
- FileDataSourceCache.cs
- KnownTypes.cs
- PersonalizablePropertyEntry.cs
- TypeForwardedFromAttribute.cs
- FieldDescriptor.cs
- ImpersonationContext.cs
- WindowCollection.cs
- RawKeyboardInputReport.cs
- webclient.cs
- EventWaitHandleSecurity.cs
- ColorTransformHelper.cs
- WindowsProgressbar.cs
- CacheSection.cs
- CancelEventArgs.cs
- TreeNode.cs
- CancellableEnumerable.cs
- PointCollection.cs
- FileUpload.cs
- NamespaceQuery.cs
- Geometry3D.cs
- Cursors.cs
- WpfWebRequestHelper.cs
- TransformPatternIdentifiers.cs
- IApplicationTrustManager.cs
- SurrogateDataContract.cs
- WebDescriptionAttribute.cs
- DictionarySectionHandler.cs
- RSACryptoServiceProvider.cs
- UIElementCollection.cs
- WorkflowMarkupSerializationProvider.cs
- FixedSOMFixedBlock.cs
- FieldBuilder.cs
- ThreadStartException.cs
- Metadata.cs
- ServiceModelDictionary.cs
- GlyphingCache.cs
- BitmapEffectInput.cs
- FrameworkTextComposition.cs
- KeyNotFoundException.cs
- WsdlInspector.cs
- EncodingStreamWrapper.cs
- MgmtResManager.cs
- SBCSCodePageEncoding.cs
- BitmapEffect.cs
- GifBitmapEncoder.cs
- OciEnlistContext.cs
- ApplicationServicesHostFactory.cs
- SymbolType.cs
- VariableExpressionConverter.cs
- SizeChangedEventArgs.cs
- GlobalProxySelection.cs
- CellParaClient.cs
- X509ChainPolicy.cs
- Timer.cs
- TriggerAction.cs
- WebPartEditVerb.cs
- MenuItemBindingCollection.cs
- ComponentEvent.cs
- CustomActivityDesigner.cs
- CompilationLock.cs
- Animatable.cs
- QilFunction.cs
- NamespaceQuery.cs
- Rfc2898DeriveBytes.cs
- DecimalAnimationBase.cs
- COM2IPerPropertyBrowsingHandler.cs