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
- SmiConnection.cs
- ArithmeticException.cs
- EntityDataSourceDataSelection.cs
- WorkflowTraceTransfer.cs
- AppearanceEditorPart.cs
- WorkflowLayouts.cs
- SQLByteStorage.cs
- VoiceObjectToken.cs
- FieldNameLookup.cs
- UnknownBitmapDecoder.cs
- FormatConvertedBitmap.cs
- InstalledFontCollection.cs
- DataObjectFieldAttribute.cs
- NotFiniteNumberException.cs
- ObjectTypeMapping.cs
- IncomingWebResponseContext.cs
- ObjectStateManagerMetadata.cs
- SerializationStore.cs
- ListDesigner.cs
- AdornedElementPlaceholder.cs
- TextTreeInsertElementUndoUnit.cs
- DigestComparer.cs
- MsdtcWrapper.cs
- SynchronizationScope.cs
- AQNBuilder.cs
- StoreAnnotationsMap.cs
- ValidatedControlConverter.cs
- InputReportEventArgs.cs
- SchemaMerger.cs
- GridView.cs
- RuntimeHandles.cs
- XPathQilFactory.cs
- ComponentEditorForm.cs
- returneventsaver.cs
- ListViewItemSelectionChangedEvent.cs
- ExtenderProvidedPropertyAttribute.cs
- WebBrowsableAttribute.cs
- DocumentAutomationPeer.cs
- ServiceContractAttribute.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ASCIIEncoding.cs
- BamlCollectionHolder.cs
- EnumerableRowCollection.cs
- ToolBar.cs
- SendSecurityHeaderElementContainer.cs
- ByteStorage.cs
- FileSystemInfo.cs
- ApplicationServiceManager.cs
- DBCommand.cs
- TextElementEnumerator.cs
- ThemeDirectoryCompiler.cs
- NullableBoolConverter.cs
- ListViewDesigner.cs
- XPathAncestorQuery.cs
- WebPartEditorCancelVerb.cs
- Point3DIndependentAnimationStorage.cs
- MouseActionConverter.cs
- SQLInt64.cs
- MenuItem.cs
- CacheDict.cs
- DbBuffer.cs
- SequentialWorkflowRootDesigner.cs
- DataGridViewLinkCell.cs
- ServerIdentity.cs
- ListControlDesigner.cs
- DefaultEvaluationContext.cs
- MetadataItemEmitter.cs
- DesignTimeValidationFeature.cs
- AlternateView.cs
- XmlWrappingWriter.cs
- mediaeventshelper.cs
- DataSourceExpression.cs
- Popup.cs
- BrowserDefinitionCollection.cs
- XmlCharacterData.cs
- WebConfigurationManager.cs
- ConfigurationValue.cs
- CodeThrowExceptionStatement.cs
- WindowsTooltip.cs
- TableLayoutColumnStyleCollection.cs
- DescendentsWalkerBase.cs
- SchemaDeclBase.cs
- OdbcInfoMessageEvent.cs
- RectangleGeometry.cs
- BoundField.cs
- OutputScopeManager.cs
- AnimationClockResource.cs
- PartManifestEntry.cs
- CodeNamespaceImport.cs
- X500Name.cs
- ListViewAutomationPeer.cs
- DataSetFieldSchema.cs
- ValidationErrorEventArgs.cs
- CodeTypeParameter.cs
- TextMarkerSource.cs
- SqlProcedureAttribute.cs
- ByteBufferPool.cs
- SqlBooleanizer.cs
- ToolBarOverflowPanel.cs
- ProcessHost.cs