Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RemoteX509Token.cs
- DecoderNLS.cs
- IpcClientManager.cs
- IndexedEnumerable.cs
- ObjectDataSourceStatusEventArgs.cs
- XmlHierarchicalDataSourceView.cs
- ListDictionary.cs
- ComponentCollection.cs
- CursorConverter.cs
- AsyncOperationLifetimeManager.cs
- CultureMapper.cs
- _SingleItemRequestCache.cs
- RelationalExpressions.cs
- SyndicationItem.cs
- XXXInfos.cs
- HttpHandlerActionCollection.cs
- Ipv6Element.cs
- TemplatedWizardStep.cs
- WebPartTransformer.cs
- SafeCryptContextHandle.cs
- DataServices.cs
- ArgumentElement.cs
- RoutingService.cs
- ResourceDefaultValueAttribute.cs
- EdgeProfileValidation.cs
- TransformerTypeCollection.cs
- PnrpPermission.cs
- MatrixCamera.cs
- StringPropertyBuilder.cs
- ProgramPublisher.cs
- PixelFormats.cs
- XmlWellformedWriterHelpers.cs
- ReadingWritingEntityEventArgs.cs
- NativeCompoundFileAPIs.cs
- CommandSet.cs
- Point3DAnimationUsingKeyFrames.cs
- RowsCopiedEventArgs.cs
- Context.cs
- AnimatedTypeHelpers.cs
- AttributeUsageAttribute.cs
- SQLRoleProvider.cs
- EpmSourceTree.cs
- SafeFreeMibTable.cs
- XmlReflectionImporter.cs
- HeaderPanel.cs
- StaticFileHandler.cs
- printdlgexmarshaler.cs
- TemplateBuilder.cs
- EventLogInternal.cs
- TemplatedWizardStep.cs
- DataViewSettingCollection.cs
- ReflectPropertyDescriptor.cs
- FixedSOMLineCollection.cs
- X509IssuerSerialKeyIdentifierClause.cs
- AttributeQuery.cs
- StringDictionaryEditor.cs
- SaveFileDialog.cs
- MediaTimeline.cs
- ResourceReferenceExpressionConverter.cs
- PersonalizableTypeEntry.cs
- SqlConnection.cs
- sqlser.cs
- TableLayoutRowStyleCollection.cs
- XmlCharCheckingReader.cs
- CachedResourceDictionaryExtension.cs
- NamedObject.cs
- COSERVERINFO.cs
- Crc32Helper.cs
- ClientEndpointLoader.cs
- WsatStrings.cs
- TableAutomationPeer.cs
- FileSystemEventArgs.cs
- ObjectStorage.cs
- ThreadStateException.cs
- HttpListener.cs
- TreeNodeBindingDepthConverter.cs
- RepeatButtonAutomationPeer.cs
- DocumentApplication.cs
- ToolStripProgressBar.cs
- MimeMultiPart.cs
- DriveNotFoundException.cs
- TransactedBatchingBehavior.cs
- URL.cs
- SemanticResultKey.cs
- TreeNodeBindingDepthConverter.cs
- DBAsyncResult.cs
- InvokeDelegate.cs
- Lease.cs
- BitmapEffectvisualstate.cs
- MasterPage.cs
- connectionpool.cs
- TrackingCondition.cs
- HealthMonitoringSectionHelper.cs
- Helper.cs
- StyleCollectionEditor.cs
- HtmlTitle.cs
- SchemaCompiler.cs
- CriticalFinalizerObject.cs
- EncryptedReference.cs
- CodeEventReferenceExpression.cs