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
- shaperfactory.cs
- ApplicationManager.cs
- TextEditorCopyPaste.cs
- StateMachineWorkflowInstance.cs
- DataKey.cs
- OracleException.cs
- _SSPIWrapper.cs
- CodeDirectiveCollection.cs
- TransactedBatchingBehavior.cs
- SubpageParaClient.cs
- ExpressionPrefixAttribute.cs
- WebZone.cs
- XmlToDatasetMap.cs
- NavigationCommands.cs
- DragDeltaEventArgs.cs
- AssociationSetEnd.cs
- HijriCalendar.cs
- CompoundFileStorageReference.cs
- RelatedView.cs
- TailCallAnalyzer.cs
- TogglePatternIdentifiers.cs
- SqlAliaser.cs
- ServicePointManager.cs
- DynamicResourceExtension.cs
- __Filters.cs
- StopRoutingHandler.cs
- SweepDirectionValidation.cs
- NetMsmqBinding.cs
- RefreshEventArgs.cs
- ResourcePermissionBase.cs
- MessageSmuggler.cs
- WaitHandle.cs
- EditorZone.cs
- MarshalByRefObject.cs
- NotFiniteNumberException.cs
- ArgIterator.cs
- DbConnectionStringCommon.cs
- WebBrowserNavigatingEventHandler.cs
- XmlSchemaSequence.cs
- ComponentChangingEvent.cs
- BaseCAMarshaler.cs
- WebPartConnectionsEventArgs.cs
- GridViewUpdatedEventArgs.cs
- ReadOnlyHierarchicalDataSource.cs
- RoutedCommand.cs
- SchemaContext.cs
- NamespaceCollection.cs
- CompositeControl.cs
- WindowsButton.cs
- CatalogPartChrome.cs
- lengthconverter.cs
- EdmConstants.cs
- ControlUtil.cs
- PerspectiveCamera.cs
- SecurityPolicySection.cs
- NotificationContext.cs
- RecognitionResult.cs
- ZoneButton.cs
- BitmapEffectInputConnector.cs
- BaseDataListDesigner.cs
- BitmapEffectvisualstate.cs
- CodeCommentStatementCollection.cs
- SimpleHandlerBuildProvider.cs
- DataSourceHelper.cs
- WebExceptionStatus.cs
- CleanUpVirtualizedItemEventArgs.cs
- ExtenderHelpers.cs
- EllipseGeometry.cs
- DispatcherExceptionFilterEventArgs.cs
- QilList.cs
- FixedSOMContainer.cs
- OciLobLocator.cs
- ListControl.cs
- DataServiceRequestException.cs
- ConnectionPointCookie.cs
- _AutoWebProxyScriptWrapper.cs
- MessageSecurityOverHttpElement.cs
- ObjectListCommandEventArgs.cs
- WindowsNonControl.cs
- Latin1Encoding.cs
- UseLicense.cs
- InvokeProviderWrapper.cs
- latinshape.cs
- KeyPullup.cs
- ThreadExceptionDialog.cs
- BufferModeSettings.cs
- ConfigPathUtility.cs
- OrthographicCamera.cs
- SocketException.cs
- ComPlusAuthorization.cs
- FrameworkContentElement.cs
- UnsafeNativeMethods.cs
- AbandonedMutexException.cs
- SharedRuntimeState.cs
- CollectionBuilder.cs
- BuildManager.cs
- Baml6ConstructorInfo.cs
- CodeThrowExceptionStatement.cs
- WSSecureConversation.cs
- LostFocusEventManager.cs