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
- ChooseAction.cs
- JsonDeserializer.cs
- ComponentChangedEvent.cs
- BitmapPalettes.cs
- XamlReader.cs
- SqlDataReader.cs
- MemoryStream.cs
- FailedToStartupUIException.cs
- TextDecorationUnitValidation.cs
- AdCreatedEventArgs.cs
- DefaultTextStoreTextComposition.cs
- CodeCommentStatementCollection.cs
- processwaithandle.cs
- ClosureBinding.cs
- SelectionItemPattern.cs
- SQLDecimalStorage.cs
- InterleavedZipPartStream.cs
- SQLMembershipProvider.cs
- ConstrainedDataObject.cs
- XmlRawWriter.cs
- UserControl.cs
- MemberCollection.cs
- PeerApplicationLaunchInfo.cs
- ButtonColumn.cs
- TypeTypeConverter.cs
- WebPartRestoreVerb.cs
- PolicyDesigner.cs
- HttpListenerContext.cs
- EventDescriptorCollection.cs
- RightsManagementInformation.cs
- TiffBitmapDecoder.cs
- ISessionStateStore.cs
- Rotation3DAnimationBase.cs
- LowerCaseStringConverter.cs
- GeneralEndpointIdentity.cs
- XPathBuilder.cs
- TraceContextEventArgs.cs
- HttpContext.cs
- QilSortKey.cs
- BuildProviderCollection.cs
- Point.cs
- ToolStripButton.cs
- PageFunction.cs
- bidPrivateBase.cs
- glyphs.cs
- XmlDocumentFragment.cs
- XmlnsCache.cs
- ItemContainerProviderWrapper.cs
- JoinSymbol.cs
- List.cs
- AsyncDataRequest.cs
- PositiveTimeSpanValidatorAttribute.cs
- CheckableControlBaseAdapter.cs
- ByteConverter.cs
- WSDualHttpBindingCollectionElement.cs
- PathFigureCollection.cs
- PeerNearMe.cs
- ToolStripScrollButton.cs
- ConnectionPoolRegistry.cs
- InputLanguageSource.cs
- MimeObjectFactory.cs
- ConfigurationManagerInternalFactory.cs
- ReadOnlyTernaryTree.cs
- ModelPropertyDescriptor.cs
- AsyncStreamReader.cs
- MessageSecurityOverHttpElement.cs
- X509Utils.cs
- Size.cs
- CacheEntry.cs
- RepeaterCommandEventArgs.cs
- FontSourceCollection.cs
- LinkClickEvent.cs
- SimpleHandlerFactory.cs
- WebPartDisplayModeCollection.cs
- NonVisualControlAttribute.cs
- UrlAuthorizationModule.cs
- ManagementDateTime.cs
- TextInfo.cs
- LocalizationCodeDomSerializer.cs
- PrintDialog.cs
- BufferedReadStream.cs
- URLIdentityPermission.cs
- dsa.cs
- LoadWorkflowAsyncResult.cs
- FixUpCollection.cs
- TextPenaltyModule.cs
- SEHException.cs
- UnsafeNativeMethods.cs
- MDIWindowDialog.cs
- FixedSOMLineRanges.cs
- CellTreeNode.cs
- XmlBindingWorker.cs
- ApplicationTrust.cs
- DataServiceQueryException.cs
- HwndSubclass.cs
- Invariant.cs
- FontClient.cs
- PieceNameHelper.cs
- RotateTransform3D.cs
- VectorKeyFrameCollection.cs