Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- VisualStyleInformation.cs
- DataGridViewSelectedCellCollection.cs
- ContentPlaceHolder.cs
- GlyphRunDrawing.cs
- SqlPersonalizationProvider.cs
- Expr.cs
- XsdDataContractExporter.cs
- DataGrid.cs
- SetterBase.cs
- MissingFieldException.cs
- webclient.cs
- XsdDuration.cs
- CounterCreationData.cs
- JsonObjectDataContract.cs
- StatusBar.cs
- TableLayoutRowStyleCollection.cs
- ProgressiveCrcCalculatingStream.cs
- TimeoutValidationAttribute.cs
- ContainerUtilities.cs
- SiteMapDataSource.cs
- BinaryEditor.cs
- ExtensionQuery.cs
- HtmlControlAdapter.cs
- WebConfigurationHostFileChange.cs
- TouchDevice.cs
- AsnEncodedData.cs
- StyleXamlTreeBuilder.cs
- ItemType.cs
- BaseCAMarshaler.cs
- DesignerGenericWebPart.cs
- TabRenderer.cs
- XhtmlCssHandler.cs
- AbstractSvcMapFileLoader.cs
- IncrementalCompileAnalyzer.cs
- Container.cs
- RightsManagementPermission.cs
- LocatorGroup.cs
- FileLevelControlBuilderAttribute.cs
- AdapterUtil.cs
- XmlBindingWorker.cs
- ShaderEffect.cs
- WorkflowInstanceExtensionProvider.cs
- XmlProcessingInstruction.cs
- ChtmlLinkAdapter.cs
- CssClassPropertyAttribute.cs
- RtType.cs
- ProcessExitedException.cs
- WrappedIUnknown.cs
- CompressedStack.cs
- ClientSettings.cs
- HttpModuleCollection.cs
- HttpVersion.cs
- XpsFilter.cs
- DefaultAsyncDataDispatcher.cs
- WasHttpHandlersInstallComponent.cs
- SrgsGrammarCompiler.cs
- TableLayoutPanel.cs
- ArraySortHelper.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- EDesignUtil.cs
- UInt32Converter.cs
- SpecularMaterial.cs
- ConnectionConsumerAttribute.cs
- EventLogEntry.cs
- BindingList.cs
- HighlightVisual.cs
- CheckedListBox.cs
- SwitchLevelAttribute.cs
- SqlServer2KCompatibilityAnnotation.cs
- ObsoleteAttribute.cs
- WorkItem.cs
- XmlDictionary.cs
- LinkButton.cs
- TimeZone.cs
- MenuItemStyleCollection.cs
- GPPOINT.cs
- SelectedDatesCollection.cs
- AnnotationMap.cs
- XsltContext.cs
- GifBitmapDecoder.cs
- PropertyOverridesDialog.cs
- FlowchartDesigner.Helpers.cs
- RuntimeConfig.cs
- XmlNamespaceMapping.cs
- EnumValAlphaComparer.cs
- CompositeDuplexBindingElementImporter.cs
- TreeNodeClickEventArgs.cs
- ViewStateException.cs
- validationstate.cs
- InputLanguageEventArgs.cs
- SynchronizationLockException.cs
- StringResourceManager.cs
- InvokeAction.cs
- RoleService.cs
- Identifier.cs
- ColumnMap.cs
- DataGridItemCollection.cs
- NullReferenceException.cs
- SurrogateEncoder.cs
- TableCell.cs