Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- WebScriptServiceHost.cs
- ZipIOCentralDirectoryBlock.cs
- IdleTimeoutMonitor.cs
- OletxTransactionHeader.cs
- Property.cs
- SqlNotificationRequest.cs
- ButtonRenderer.cs
- Point3DAnimation.cs
- ResourcePermissionBaseEntry.cs
- CompilerErrorCollection.cs
- OperationParameterInfo.cs
- CommandHelper.cs
- InheritanceRules.cs
- HttpApplication.cs
- ElementInit.cs
- SemanticResolver.cs
- WaitHandleCannotBeOpenedException.cs
- MessageQueueInstaller.cs
- MouseGestureValueSerializer.cs
- FilteredAttributeCollection.cs
- DPCustomTypeDescriptor.cs
- FilterQuery.cs
- XamlToRtfParser.cs
- SystemNetHelpers.cs
- ArgumentException.cs
- ExpressionConverter.cs
- HtmlWindow.cs
- ProtocolImporter.cs
- GorillaCodec.cs
- ITreeGenerator.cs
- XmlSchemaType.cs
- CodeValidator.cs
- SignatureTargetIdManager.cs
- ProtocolsInstallComponent.cs
- SqlProfileProvider.cs
- ConfigurationElement.cs
- ComboBox.cs
- Matrix.cs
- CompositeDataBoundControl.cs
- Adorner.cs
- XomlDesignerLoader.cs
- SafeProcessHandle.cs
- DataGridViewCellStyleConverter.cs
- WindowsNonControl.cs
- DateTimeFormat.cs
- SafeMarshalContext.cs
- ControllableStoryboardAction.cs
- ReverseInheritProperty.cs
- ACE.cs
- ProxyDataContractResolver.cs
- EntitySet.cs
- RowToFieldTransformer.cs
- SortFieldComparer.cs
- WrappedReader.cs
- MessageVersion.cs
- GetWinFXPath.cs
- DataGridTable.cs
- XmlnsDictionary.cs
- ContainerTracking.cs
- Filter.cs
- DomNameTable.cs
- HtmlEncodedRawTextWriter.cs
- BulletChrome.cs
- CodeDelegateCreateExpression.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ConfigurationSchemaErrors.cs
- XmlBinaryReader.cs
- SchemaSetCompiler.cs
- CombinedHttpChannel.cs
- MostlySingletonList.cs
- Section.cs
- TrackBarRenderer.cs
- DataGridTemplateColumn.cs
- ModuleElement.cs
- ICspAsymmetricAlgorithm.cs
- Propagator.Evaluator.cs
- Process.cs
- VerificationAttribute.cs
- ComboBoxAutomationPeer.cs
- ErrorProvider.cs
- SolidColorBrush.cs
- ContainerAction.cs
- InvalidCastException.cs
- MetafileHeaderWmf.cs
- ThreadExceptionDialog.cs
- XmlSerializerVersionAttribute.cs
- SafeTimerHandle.cs
- ServiceThrottle.cs
- PeerResolverElement.cs
- XmlKeywords.cs
- HtmlValidatorAdapter.cs
- WorkflowRuntimeServiceElement.cs
- RefType.cs
- EventBuilder.cs
- Group.cs
- ButtonBase.cs
- AnnotationElement.cs
- InvalidWMPVersionException.cs
- ServicePointManagerElement.cs
- XmlNavigatorFilter.cs