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
- DecoderExceptionFallback.cs
- ContentWrapperAttribute.cs
- SqlConnectionPoolProviderInfo.cs
- ViewStateModeByIdAttribute.cs
- DataRowCollection.cs
- InvokeMethodActivityDesigner.cs
- Visitor.cs
- FormViewModeEventArgs.cs
- EntityViewGenerationAttribute.cs
- IsolatedStorageFile.cs
- SelectedCellsChangedEventArgs.cs
- ParenExpr.cs
- PointConverter.cs
- TimeSpanValidatorAttribute.cs
- SystemBrushes.cs
- AmbientLight.cs
- JsonDataContract.cs
- X509SecurityToken.cs
- ResourceContainer.cs
- ChildrenQuery.cs
- SkewTransform.cs
- OdbcFactory.cs
- SoapSchemaExporter.cs
- FormViewInsertedEventArgs.cs
- SchemaElementLookUpTable.cs
- TextBounds.cs
- ByeOperation11AsyncResult.cs
- XmlWrappingWriter.cs
- EncoderExceptionFallback.cs
- DesignerVerb.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DeploymentExceptionMapper.cs
- CharacterString.cs
- MeasureData.cs
- _CommandStream.cs
- TimeSpanSecondsConverter.cs
- ParallelTimeline.cs
- New.cs
- StringSource.cs
- Signature.cs
- SmiEventSink.cs
- ExcCanonicalXml.cs
- FacetDescriptionElement.cs
- COM2ExtendedUITypeEditor.cs
- Point3DCollection.cs
- ErrorTableItemStyle.cs
- Tuple.cs
- Icon.cs
- ProtectedConfigurationSection.cs
- XpsManager.cs
- DataServiceRequest.cs
- NotFiniteNumberException.cs
- Ops.cs
- SoapWriter.cs
- MailMessageEventArgs.cs
- ChannelManager.cs
- XPathItem.cs
- SiteMapNodeItem.cs
- DataGridColumnHeaderCollection.cs
- SortQuery.cs
- NamedPipeConnectionPool.cs
- SqlPersonalizationProvider.cs
- SyntaxCheck.cs
- ParameterInfo.cs
- WebMessageEncoderFactory.cs
- TimeStampChecker.cs
- TranslateTransform3D.cs
- AlphaSortedEnumConverter.cs
- SelectionItemProviderWrapper.cs
- ReadOnlyHierarchicalDataSourceView.cs
- CodeComment.cs
- WebRequest.cs
- SecurityDocument.cs
- DictionaryItemsCollection.cs
- XmlSchemaComplexContentRestriction.cs
- HierarchicalDataSourceConverter.cs
- Bits.cs
- RenderData.cs
- odbcmetadatacolumnnames.cs
- TextParagraphProperties.cs
- TdsValueSetter.cs
- SqlServer2KCompatibilityAnnotation.cs
- Overlapped.cs
- SHA384.cs
- SecurityException.cs
- SelectorAutomationPeer.cs
- ThreadPool.cs
- Table.cs
- DataSourceViewSchemaConverter.cs
- SchemaNotation.cs
- DesignerAttributeInfo.cs
- SHA512Managed.cs
- NamedPipeConnectionPoolSettingsElement.cs
- ErrorRuntimeConfig.cs
- AccessViolationException.cs
- WindowsFormsSectionHandler.cs
- ImageSource.cs
- CollectionDataContract.cs
- WsatServiceAddress.cs
- CultureInfoConverter.cs