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
- ConfigurationManagerInternalFactory.cs
- EventLogPermissionEntryCollection.cs
- Baml6Assembly.cs
- WebReferencesBuildProvider.cs
- XsltContext.cs
- AutomationPeer.cs
- QuaternionConverter.cs
- MemberProjectedSlot.cs
- WebPartConnectionsConnectVerb.cs
- Int64KeyFrameCollection.cs
- CodeBinaryOperatorExpression.cs
- WindowsFont.cs
- DataBoundControl.cs
- NegotiateStream.cs
- InputLangChangeEvent.cs
- TextCharacters.cs
- ElementHostPropertyMap.cs
- _WinHttpWebProxyDataBuilder.cs
- PropertyMap.cs
- Baml6Assembly.cs
- LinearQuaternionKeyFrame.cs
- ValidatorAttribute.cs
- BamlResourceSerializer.cs
- Debug.cs
- TypeResolver.cs
- OutputScope.cs
- StylusSystemGestureEventArgs.cs
- CriticalExceptions.cs
- FontSourceCollection.cs
- DefaultTraceListener.cs
- UnicodeEncoding.cs
- SafeTimerHandle.cs
- FormatConvertedBitmap.cs
- HwndMouseInputProvider.cs
- OdbcEnvironment.cs
- GeometryGroup.cs
- KeyValuePair.cs
- FunctionParameter.cs
- LocalizabilityAttribute.cs
- ConstructorExpr.cs
- ServiceElementCollection.cs
- BuiltInExpr.cs
- TableColumn.cs
- DefaultTypeArgumentAttribute.cs
- DataGridTableStyleMappingNameEditor.cs
- DashStyle.cs
- DataGridViewTextBoxCell.cs
- ComboBox.cs
- ComEventsSink.cs
- DynamicMethod.cs
- FixedNode.cs
- EntityStoreSchemaGenerator.cs
- MappingItemCollection.cs
- TypeUtils.cs
- DocumentPageView.cs
- CloudCollection.cs
- BitmapMetadata.cs
- SelectorItemAutomationPeer.cs
- PreloadedPackages.cs
- CompositeTypefaceMetrics.cs
- TextCollapsingProperties.cs
- MsmqIntegrationBindingCollectionElement.cs
- TemplateXamlParser.cs
- ClientRoleProvider.cs
- Update.cs
- BulletDecorator.cs
- XPathNodePointer.cs
- OleDbWrapper.cs
- CompilerGlobalScopeAttribute.cs
- Codec.cs
- WebRequestModuleElementCollection.cs
- UserMapPath.cs
- Border.cs
- IndexOutOfRangeException.cs
- SolidColorBrush.cs
- WindowsTitleBar.cs
- XmlSchemaSubstitutionGroup.cs
- SimpleWorkerRequest.cs
- SqlRemoveConstantOrderBy.cs
- ProcessModelSection.cs
- MessageHeader.cs
- StateItem.cs
- WorkflowServiceNamespace.cs
- Stylesheet.cs
- NameObjectCollectionBase.cs
- CustomTypeDescriptor.cs
- Color.cs
- EllipticalNodeOperations.cs
- XAMLParseException.cs
- ColorPalette.cs
- ObjectSet.cs
- SqlUDTStorage.cs
- UIElementAutomationPeer.cs
- CardSpacePolicyElement.cs
- CacheMemory.cs
- WebScriptEnablingElement.cs
- PerfCounterSection.cs
- AnnotationResourceChangedEventArgs.cs
- SiteMapSection.cs
- Part.cs