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
- WebPartZone.cs
- DrawingVisualDrawingContext.cs
- CodeValidator.cs
- GlyphingCache.cs
- FormViewCommandEventArgs.cs
- FlowDocumentPaginator.cs
- EventListener.cs
- Viewport2DVisual3D.cs
- ToolStripActionList.cs
- ToolStripContainerActionList.cs
- CharacterBufferReference.cs
- ImageSourceConverter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DbConnectionPoolCounters.cs
- InstanceKey.cs
- PhysicalOps.cs
- StrongNameUtility.cs
- GifBitmapEncoder.cs
- GuidelineCollection.cs
- CommandField.cs
- XmlTextEncoder.cs
- IndentedWriter.cs
- UpdateTracker.cs
- ServiceContractListItemList.cs
- FormattedText.cs
- XmlUTF8TextWriter.cs
- CalendarDesigner.cs
- ZoneIdentityPermission.cs
- Peer.cs
- ToggleButton.cs
- ElementAtQueryOperator.cs
- AppDomainProtocolHandler.cs
- Enlistment.cs
- SQLByte.cs
- WindowsScroll.cs
- SafeLibraryHandle.cs
- ParameterCollection.cs
- RemotingConfiguration.cs
- TlsnegoTokenAuthenticator.cs
- LoginCancelEventArgs.cs
- GacUtil.cs
- DesignerDataTable.cs
- BorderGapMaskConverter.cs
- InternalPermissions.cs
- ExpandCollapseProviderWrapper.cs
- SoapDocumentServiceAttribute.cs
- SchemaConstraints.cs
- JpegBitmapDecoder.cs
- XmlSchemaComplexContentRestriction.cs
- ProviderUtil.cs
- TypeCacheManager.cs
- PeerNameRecord.cs
- DomNameTable.cs
- ApplicationInfo.cs
- X509Utils.cs
- SymbolMethod.cs
- StateChangeEvent.cs
- RemoveStoryboard.cs
- MatrixStack.cs
- connectionpool.cs
- InvalidPipelineStoreException.cs
- ProbeDuplex11AsyncResult.cs
- Regex.cs
- DesignerResources.cs
- ProviderConnectionPoint.cs
- HtmlString.cs
- Wildcard.cs
- WindowsListViewGroup.cs
- RijndaelManaged.cs
- ReturnType.cs
- AssemblyCache.cs
- BigInt.cs
- MappingException.cs
- XmlQualifiedName.cs
- TdsParserHelperClasses.cs
- AsymmetricSecurityProtocol.cs
- ListControlConvertEventArgs.cs
- SqlDependencyUtils.cs
- OSFeature.cs
- FormattedText.cs
- DtdParser.cs
- WaveHeader.cs
- EntityDataSource.cs
- DataGridViewRowsAddedEventArgs.cs
- QuinticEase.cs
- DataPagerCommandEventArgs.cs
- PersistStreamTypeWrapper.cs
- WorkflowClientDeliverMessageWrapper.cs
- AttachmentService.cs
- Oci.cs
- ProfilePropertyNameValidator.cs
- ConfigurationValues.cs
- DateTimeFormatInfoScanner.cs
- FrameworkElementAutomationPeer.cs
- MultiSelectRootGridEntry.cs
- RightsManagementPermission.cs
- ComponentResourceKey.cs
- XmlAnyElementAttribute.cs
- TimeSpan.cs
- AsymmetricKeyExchangeDeformatter.cs