Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- UnsafeNativeMethods.cs
- DoubleKeyFrameCollection.cs
- autovalidator.cs
- Floater.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- PeerTransportListenAddressValidatorAttribute.cs
- ProcessStartInfo.cs
- DbMetaDataFactory.cs
- EventLogWatcher.cs
- UnionExpr.cs
- MobileTemplatedControlDesigner.cs
- ActiveXHost.cs
- NameSpaceEvent.cs
- Pens.cs
- ClientBuildManager.cs
- _NestedMultipleAsyncResult.cs
- GroupDescription.cs
- TemplatedControlDesigner.cs
- RotateTransform3D.cs
- DirectoryObjectSecurity.cs
- ListViewItemCollectionEditor.cs
- UnitControl.cs
- SchemaImporterExtensionElementCollection.cs
- Int32Collection.cs
- FilterUserControlBase.cs
- webeventbuffer.cs
- PeerNameResolver.cs
- SQLStringStorage.cs
- WriterOutput.cs
- TableCell.cs
- EnvironmentPermission.cs
- HttpApplicationFactory.cs
- ReflectionServiceProvider.cs
- FileReader.cs
- ReferencedCollectionType.cs
- ManagedIStream.cs
- ChannelManager.cs
- NativeMethods.cs
- DesignerSerializerAttribute.cs
- AgileSafeNativeMemoryHandle.cs
- ClrPerspective.cs
- XpsResourcePolicy.cs
- CompensationToken.cs
- TreeWalker.cs
- EvidenceBase.cs
- SqlFlattener.cs
- FlowNode.cs
- MethodAccessException.cs
- UIElementAutomationPeer.cs
- LinqDataSourceValidationException.cs
- odbcmetadatacolumnnames.cs
- Rotation3D.cs
- AddInControllerImpl.cs
- StateMachine.cs
- ScriptManager.cs
- StorageMappingFragment.cs
- GridViewAutomationPeer.cs
- XmlDataDocument.cs
- StylusPointCollection.cs
- SymmetricSecurityProtocolFactory.cs
- BamlVersionHeader.cs
- CursorInteropHelper.cs
- ResourceProperty.cs
- EntityDataSourceContextCreatedEventArgs.cs
- SimpleWorkerRequest.cs
- ipaddressinformationcollection.cs
- CaseCqlBlock.cs
- SynchronizedDisposablePool.cs
- AsnEncodedData.cs
- followingquery.cs
- RIPEMD160Managed.cs
- MemberDomainMap.cs
- OleDbCommand.cs
- AuthenticationService.cs
- HandlerBase.cs
- WebRequestModuleElement.cs
- Equal.cs
- XPathArrayIterator.cs
- BooleanKeyFrameCollection.cs
- WebBrowserContainer.cs
- DisplayNameAttribute.cs
- SubclassTypeValidator.cs
- SqlSelectStatement.cs
- EventPropertyMap.cs
- DataFieldConverter.cs
- DataBindingCollection.cs
- HotSpot.cs
- RuntimeUtils.cs
- IPGlobalProperties.cs
- StrongNamePublicKeyBlob.cs
- ProxyWebPartManager.cs
- SrgsElementFactoryCompiler.cs
- NumberSubstitution.cs
- MetabaseReader.cs
- GlyphInfoList.cs
- EntityDataSourceConfigureObjectContext.cs
- HashAlgorithm.cs
- SystemWebExtensionsSectionGroup.cs
- DBSqlParserTable.cs
- IndentTextWriter.cs