Code:
/ DotNET / DotNET / 8.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
- IBuiltInEvidence.cs
- CodeExpressionStatement.cs
- Helper.cs
- DateTimeStorage.cs
- XmlNodeList.cs
- sqlser.cs
- HttpRequestCacheValidator.cs
- ElementUtil.cs
- util.cs
- TypedElement.cs
- SqlCacheDependencySection.cs
- XsdDataContractImporter.cs
- UseLicense.cs
- ReadWriteObjectLock.cs
- Color.cs
- DataGridViewControlCollection.cs
- ToolBarOverflowPanel.cs
- BaseCollection.cs
- InstanceNameConverter.cs
- SessionStateSection.cs
- CounterNameConverter.cs
- DataServiceQueryContinuation.cs
- SingleBodyParameterMessageFormatter.cs
- WebPartUtil.cs
- ConstraintEnumerator.cs
- HtmlToClrEventProxy.cs
- BamlVersionHeader.cs
- ReadOnlyAttribute.cs
- ReflectPropertyDescriptor.cs
- DataGridViewComboBoxCell.cs
- NetworkCredential.cs
- Object.cs
- SqlDependencyListener.cs
- XhtmlBasicListAdapter.cs
- BooleanFunctions.cs
- LocalValueEnumerator.cs
- ReadOnlyDataSource.cs
- HtmlInputImage.cs
- SqlServices.cs
- CommandLibraryHelper.cs
- DeviceSpecific.cs
- ProcessHostConfigUtils.cs
- SafeRegistryHandle.cs
- LocalizationParserHooks.cs
- XmlSchemas.cs
- FixedStringLookup.cs
- Event.cs
- SqlStatistics.cs
- UniqueIdentifierService.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- StackSpiller.Generated.cs
- SystemColors.cs
- DbDataRecord.cs
- GridViewCommandEventArgs.cs
- Wizard.cs
- EventRoute.cs
- BaseDataList.cs
- SingleConverter.cs
- EmptyCollection.cs
- OdbcException.cs
- WasHttpHandlersInstallComponent.cs
- TransformGroup.cs
- Vertex.cs
- HtmlToClrEventProxy.cs
- HttpCachePolicy.cs
- ExecutionEngineException.cs
- SystemInformation.cs
- DoubleCollectionConverter.cs
- GenericIdentity.cs
- Timer.cs
- TimeSpanValidatorAttribute.cs
- BulletChrome.cs
- BulletedList.cs
- _Win32.cs
- HorizontalAlignConverter.cs
- PlacementWorkspace.cs
- AutoSizeComboBox.cs
- XamlStyleSerializer.cs
- DesignerAdapterAttribute.cs
- TypeReference.cs
- TdsParserStaticMethods.cs
- DesignerForm.cs
- WindowsTokenRoleProvider.cs
- _ListenerRequestStream.cs
- OdbcTransaction.cs
- DocumentOrderQuery.cs
- OpacityConverter.cs
- PreviewPageInfo.cs
- XPathNodeHelper.cs
- CallTemplateAction.cs
- PolyBezierSegment.cs
- Util.cs
- PageThemeParser.cs
- regiisutil.cs
- DependsOnAttribute.cs
- Attribute.cs
- InvalidProgramException.cs
- Char.cs
- ImageSource.cs
- ServiceBuildProvider.cs