Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ComNativeDescriptor.cs
- TextSyndicationContentKindHelper.cs
- _IPv6Address.cs
- PropertyValue.cs
- BitmapEffectrendercontext.cs
- adornercollection.cs
- RequestCacheManager.cs
- EnumDataContract.cs
- SplitterPanelDesigner.cs
- ComponentCollection.cs
- XmlSerializerSection.cs
- Assert.cs
- MemoryStream.cs
- BufferedOutputAsyncStream.cs
- BaseParagraph.cs
- SelectiveScrollingGrid.cs
- NullReferenceException.cs
- PropVariant.cs
- sqlpipe.cs
- System.Data_BID.cs
- OdbcConnectionHandle.cs
- Polygon.cs
- StreamingContext.cs
- QueuePathEditor.cs
- TypeSystem.cs
- HttpChannelListener.cs
- SymmetricKey.cs
- Effect.cs
- FormatSettings.cs
- XmlConvert.cs
- HttpPostClientProtocol.cs
- newinstructionaction.cs
- GetBrowserTokenRequest.cs
- ClaimTypes.cs
- RegexGroupCollection.cs
- DoubleKeyFrameCollection.cs
- PolyLineSegment.cs
- Convert.cs
- TraceSource.cs
- MulticastDelegate.cs
- MatrixTransform.cs
- CompositionTarget.cs
- EnumConverter.cs
- FormsAuthenticationModule.cs
- XpsFixedPageReaderWriter.cs
- MediaPlayer.cs
- BitmapData.cs
- HierarchicalDataTemplate.cs
- BindableTemplateBuilder.cs
- ValidationPropertyAttribute.cs
- InstalledVoice.cs
- SinglePageViewer.cs
- WorkflowWebService.cs
- ObjectItemCollection.cs
- AttributeEmitter.cs
- _IPv4Address.cs
- DocumentOrderComparer.cs
- MeshGeometry3D.cs
- BoundColumn.cs
- Crc32.cs
- ExpressionsCollectionConverter.cs
- UnmanagedMemoryStream.cs
- CustomLineCap.cs
- InputMethod.cs
- OdbcPermission.cs
- ToolZone.cs
- RotationValidation.cs
- CaseInsensitiveComparer.cs
- SystemIPGlobalProperties.cs
- ArraySet.cs
- TypeConverterValueSerializer.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- XPathParser.cs
- XmlDigitalSignatureProcessor.cs
- DataMemberFieldConverter.cs
- Model3DGroup.cs
- InputScopeConverter.cs
- StylusShape.cs
- DataBoundControlAdapter.cs
- MenuItem.cs
- CustomLineCap.cs
- BitVec.cs
- PointCollection.cs
- ConfigXmlReader.cs
- ObjectComplexPropertyMapping.cs
- DetailsViewCommandEventArgs.cs
- List.cs
- TextLineBreak.cs
- BindingExpressionUncommonField.cs
- TextRangeEdit.cs
- _NetRes.cs
- XmlWriter.cs
- ClientSettingsSection.cs
- FacetDescription.cs
- PersonalizationEntry.cs
- ToolStripDropDown.cs
- BitmapCodecInfoInternal.cs
- FixedSOMLineRanges.cs
- WebPartAuthorizationEventArgs.cs
- SamlSubjectStatement.cs