Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- WebPartDisplayMode.cs
- ChangeTracker.cs
- FtpWebRequest.cs
- TcpServerChannel.cs
- Encoding.cs
- ExpandedProjectionNode.cs
- StorageSetMapping.cs
- CreateUserWizardStep.cs
- OdbcError.cs
- HwndSubclass.cs
- TextSelectionHighlightLayer.cs
- PermissionAttributes.cs
- CharacterMetricsDictionary.cs
- SerializableAttribute.cs
- TableDetailsRow.cs
- AccessDataSource.cs
- SendMessageRecord.cs
- RadioButtonList.cs
- UriExt.cs
- TraceSwitch.cs
- DataGridTemplateColumn.cs
- basevalidator.cs
- recordstatescratchpad.cs
- TypeElement.cs
- TextRangeEditTables.cs
- ControlParameter.cs
- PointCollectionConverter.cs
- DataGridTextBoxColumn.cs
- UpdateRecord.cs
- FunctionDefinition.cs
- HttpResponseInternalWrapper.cs
- StylusLogic.cs
- TemplateAction.cs
- CollectionType.cs
- ScrollBar.cs
- ContentDisposition.cs
- QuadraticBezierSegment.cs
- DataGridViewRowEventArgs.cs
- ComponentSerializationService.cs
- InlineCollection.cs
- RijndaelManaged.cs
- WrapPanel.cs
- Color.cs
- Rotation3DAnimationBase.cs
- ContentPlaceHolder.cs
- DATA_BLOB.cs
- TrackingDataItem.cs
- basecomparevalidator.cs
- RouteParametersHelper.cs
- ObjectStateManager.cs
- AbandonedMutexException.cs
- HttpFileCollection.cs
- SecurityToken.cs
- VisualStyleRenderer.cs
- NativeMethods.cs
- CompilerResults.cs
- EncoderNLS.cs
- XmlAttributeOverrides.cs
- CodeObject.cs
- dsa.cs
- Baml6ConstructorInfo.cs
- Point3DCollectionConverter.cs
- Classification.cs
- ApplicationId.cs
- AppSecurityManager.cs
- ContainerVisual.cs
- DbConnectionPoolCounters.cs
- compensatingcollection.cs
- SqlDataAdapter.cs
- EventProviderWriter.cs
- RulePatternOps.cs
- SqlNotificationEventArgs.cs
- BooleanStorage.cs
- SafeCertificateStore.cs
- TabletCollection.cs
- WindowsAuthenticationEventArgs.cs
- WebPartAddingEventArgs.cs
- InputLangChangeRequestEvent.cs
- __Filters.cs
- DataIdProcessor.cs
- ChangeInterceptorAttribute.cs
- SpeechSeg.cs
- SystemWebCachingSectionGroup.cs
- FixedSOMContainer.cs
- NoResizeSelectionBorderGlyph.cs
- WebReferencesBuildProvider.cs
- ReturnEventArgs.cs
- UrlEncodedParameterWriter.cs
- QuinticEase.cs
- BitmapSizeOptions.cs
- SharedPersonalizationStateInfo.cs
- DateTimeUtil.cs
- FixedSOMSemanticBox.cs
- NaturalLanguageHyphenator.cs
- _UncName.cs
- ConfigurationManagerHelperFactory.cs
- DataGridTablesFactory.cs
- OracleFactory.cs
- DriveInfo.cs
- EntityContainerRelationshipSetEnd.cs