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
- TextAction.cs
- DefaultBindingPropertyAttribute.cs
- _NetworkingPerfCounters.cs
- mansign.cs
- RecordsAffectedEventArgs.cs
- XmlILTrace.cs
- CssTextWriter.cs
- altserialization.cs
- UserPreferenceChangedEventArgs.cs
- LocatorBase.cs
- ProtocolsConfiguration.cs
- baseshape.cs
- NoneExcludedImageIndexConverter.cs
- CreateUserWizard.cs
- PassportAuthentication.cs
- SystemIcmpV4Statistics.cs
- ScrollPattern.cs
- ButtonFlatAdapter.cs
- ExpandableObjectConverter.cs
- ImmutableObjectAttribute.cs
- SessionEndingCancelEventArgs.cs
- AccessedThroughPropertyAttribute.cs
- DbBuffer.cs
- Function.cs
- SiteMapDataSource.cs
- BaseComponentEditor.cs
- Int16Storage.cs
- HtmlMeta.cs
- AspNetCompatibilityRequirementsAttribute.cs
- RowUpdatingEventArgs.cs
- _HeaderInfo.cs
- ReflectTypeDescriptionProvider.cs
- SchemaImporterExtensionElement.cs
- ServiceControllerDesigner.cs
- EpmTargetTree.cs
- DesignerActionPropertyItem.cs
- XmlEntityReference.cs
- SqlCommand.cs
- ClientFactory.cs
- MetadataItem.cs
- CompositeTypefaceMetrics.cs
- XPathBinder.cs
- ShaperBuffers.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- QueuePropertyVariants.cs
- Base64WriteStateInfo.cs
- PublisherIdentityPermission.cs
- SecurityPolicySection.cs
- PermissionToken.cs
- BuildProvider.cs
- ThreadAttributes.cs
- MsmqHostedTransportConfiguration.cs
- StructuredTypeEmitter.cs
- ToolstripProfessionalRenderer.cs
- ButtonBaseAdapter.cs
- MasterPage.cs
- CommonXSendMessage.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- ZipIOModeEnforcingStream.cs
- RpcCryptoRequest.cs
- LiteralControl.cs
- TypeElement.cs
- HttpResponse.cs
- PingOptions.cs
- ToolStripDropDownClosingEventArgs.cs
- TextEditorDragDrop.cs
- BitmapEffectInputConnector.cs
- FixedHighlight.cs
- UseLicense.cs
- HtmlInputSubmit.cs
- SqlTrackingQuery.cs
- ToggleButton.cs
- RenderDataDrawingContext.cs
- CacheChildrenQuery.cs
- ContractsBCL.cs
- ScrollEvent.cs
- RootDesignerSerializerAttribute.cs
- EventLogPermissionEntry.cs
- SiteIdentityPermission.cs
- ToolStripDropDownClosingEventArgs.cs
- RemoteCryptoDecryptRequest.cs
- SessionEndedEventArgs.cs
- TableLayoutCellPaintEventArgs.cs
- Brushes.cs
- Expressions.cs
- Attributes.cs
- WizardPanelChangingEventArgs.cs
- OrElse.cs
- HttpModulesSection.cs
- Transform3DCollection.cs
- MetadataArtifactLoaderComposite.cs
- CodeTypeDeclarationCollection.cs
- ProvideValueServiceProvider.cs
- InvokeCompletedEventArgs.cs
- ActiveXHost.cs
- smtpconnection.cs
- MD5.cs
- WebPartMenuStyle.cs
- ShapeTypeface.cs
- IIS7UserPrincipal.cs