Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SpecularMaterial.cs
- DBCSCodePageEncoding.cs
- AlternateViewCollection.cs
- ButtonBase.cs
- IntPtr.cs
- CodePropertyReferenceExpression.cs
- XmlDsigSep2000.cs
- DataServiceKeyAttribute.cs
- ISAPIApplicationHost.cs
- RuntimeConfigLKG.cs
- WindowsEditBoxRange.cs
- CodeParameterDeclarationExpressionCollection.cs
- ServiceObjectContainer.cs
- MissingManifestResourceException.cs
- CustomCategoryAttribute.cs
- ScrollableControl.cs
- LateBoundBitmapDecoder.cs
- DiagnosticsConfigurationHandler.cs
- RangeBase.cs
- ProcessManager.cs
- MessageSecurityOverHttp.cs
- UnsafeNativeMethods.cs
- TrackingMemoryStreamFactory.cs
- ResXDataNode.cs
- SoapReflector.cs
- TraceEventCache.cs
- SQLString.cs
- InstanceHandleReference.cs
- PartitionerQueryOperator.cs
- TextFindEngine.cs
- TransactionBridgeSection.cs
- VariantWrapper.cs
- ScrollChrome.cs
- ResourceProviderFactory.cs
- ExpressionBuilderContext.cs
- CroppedBitmap.cs
- DynamicResourceExtension.cs
- ModifierKeysValueSerializer.cs
- VersionPair.cs
- VectorCollection.cs
- CompositionAdorner.cs
- ListViewItem.cs
- CompareValidator.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- RTLAwareMessageBox.cs
- RecordManager.cs
- FixedFindEngine.cs
- FormsAuthenticationModule.cs
- ObjectQueryProvider.cs
- DebugViewWriter.cs
- UidManager.cs
- LostFocusEventManager.cs
- SystemResources.cs
- DataService.cs
- ConfigUtil.cs
- WebPartsPersonalization.cs
- FillBehavior.cs
- CodeSnippetTypeMember.cs
- TabOrder.cs
- AbstractSvcMapFileLoader.cs
- GeometryModel3D.cs
- HtmlControlPersistable.cs
- ParameterCollection.cs
- DashStyle.cs
- DataDesignUtil.cs
- SecurityHelper.cs
- UdpUtility.cs
- CellTreeNodeVisitors.cs
- PageThemeBuildProvider.cs
- MapPathBasedVirtualPathProvider.cs
- ItemDragEvent.cs
- DataPagerFieldItem.cs
- ReadOnlyDataSource.cs
- FtpCachePolicyElement.cs
- ProgressBarAutomationPeer.cs
- KernelTypeValidation.cs
- BasicAsyncResult.cs
- ToolStripDesigner.cs
- DistributedTransactionPermission.cs
- iisPickupDirectory.cs
- FontUnitConverter.cs
- DataGridViewTextBoxCell.cs
- EventProviderWriter.cs
- FloaterParagraph.cs
- SafeNativeMethods.cs
- MouseCaptureWithinProperty.cs
- FacetEnabledSchemaElement.cs
- SelectorAutomationPeer.cs
- DataSet.cs
- ReachNamespaceInfo.cs
- RangeBaseAutomationPeer.cs
- DataGridViewCellStyle.cs
- PropertyAccessVisitor.cs
- DurableServiceAttribute.cs
- _DomainName.cs
- UiaCoreTypesApi.cs
- XmlSchemaExternal.cs
- Binding.cs
- CompositeScriptReference.cs
- ReferenceEqualityComparer.cs