Code:
/ DotNET / DotNET / 8.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
- WorkflowDefinitionContext.cs
- SourceFileBuildProvider.cs
- NumericUpDownAccelerationCollection.cs
- Int32Animation.cs
- UnionCqlBlock.cs
- HwndSubclass.cs
- WebPartVerbCollection.cs
- MapPathBasedVirtualPathProvider.cs
- WpfXamlLoader.cs
- HasCopySemanticsAttribute.cs
- AnnotationStore.cs
- MetadataPropertyAttribute.cs
- Keyboard.cs
- ToolStripLocationCancelEventArgs.cs
- Msec.cs
- ConnectorDragDropGlyph.cs
- XamlStream.cs
- Authorization.cs
- SafeProcessHandle.cs
- SimpleWebHandlerParser.cs
- SynchronizedInputHelper.cs
- connectionpool.cs
- TypeConverterAttribute.cs
- HashAlgorithm.cs
- SecurityChannelListener.cs
- DataGridToolTip.cs
- TypeForwardedFromAttribute.cs
- FastEncoderStatics.cs
- ILGenerator.cs
- CustomError.cs
- SchemaCreator.cs
- PageVisual.cs
- XmlNodeChangedEventArgs.cs
- PrintController.cs
- SplitterCancelEvent.cs
- DataListItem.cs
- Logging.cs
- HttpProtocolReflector.cs
- CompressionTransform.cs
- CodeIndexerExpression.cs
- SrgsToken.cs
- SelectionWordBreaker.cs
- SoapReflectionImporter.cs
- ProfilePropertyNameValidator.cs
- SchemaMapping.cs
- HandleCollector.cs
- MediaEntryAttribute.cs
- ValidatorCollection.cs
- TdsRecordBufferSetter.cs
- WizardPanelChangingEventArgs.cs
- IdentityValidationException.cs
- MetadataHelper.cs
- ObjectDataSourceStatusEventArgs.cs
- ConsoleTraceListener.cs
- WebPartManagerInternals.cs
- FrameworkRichTextComposition.cs
- SoapFormatter.cs
- BitmapEffectrendercontext.cs
- TypeSource.cs
- VectorCollection.cs
- XmlDataSourceNodeDescriptor.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- BigInt.cs
- RootBrowserWindowAutomationPeer.cs
- CssClassPropertyAttribute.cs
- XmlNamespaceManager.cs
- TextEditorTyping.cs
- LogManagementAsyncResult.cs
- ExceptionHelpers.cs
- ArrayWithOffset.cs
- ReadOnlyDataSourceView.cs
- VisualStyleTypesAndProperties.cs
- XhtmlConformanceSection.cs
- CodeAttachEventStatement.cs
- SiteMapDataSource.cs
- XmlAttributeOverrides.cs
- SystemColors.cs
- Form.cs
- QuaternionAnimationBase.cs
- XmlFormatWriterGenerator.cs
- HatchBrush.cs
- ChildDocumentBlock.cs
- WasAdminWrapper.cs
- RawStylusActions.cs
- ErrorWebPart.cs
- RoleManagerModule.cs
- InternalCache.cs
- ThousandthOfEmRealPoints.cs
- DesignerOptionService.cs
- XmlTextReaderImplHelpers.cs
- cookiecontainer.cs
- ProxyHelper.cs
- DeclarativeExpressionConditionDeclaration.cs
- AdapterDictionary.cs
- StringUtil.cs
- HttpCachePolicyElement.cs
- Separator.cs
- CodeArrayIndexerExpression.cs
- Imaging.cs
- SplayTreeNode.cs