Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / CancelEventArgs.cs / 1305376 / 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. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UserUseLicenseDictionaryLoader.cs
- StylusCaptureWithinProperty.cs
- ButtonPopupAdapter.cs
- SiteMapHierarchicalDataSourceView.cs
- Byte.cs
- RequestCache.cs
- UnionExpr.cs
- GPRECTF.cs
- SiteMapHierarchicalDataSourceView.cs
- CodePageEncoding.cs
- WebZoneDesigner.cs
- DoubleIndependentAnimationStorage.cs
- MDIClient.cs
- ParserContext.cs
- ProviderSettings.cs
- WindowsProgressbar.cs
- ServiceDiscoveryElement.cs
- SigningProgress.cs
- ResXResourceSet.cs
- BinaryQueryOperator.cs
- EpmContentDeSerializerBase.cs
- WebPartsSection.cs
- EntityContainer.cs
- NullableConverter.cs
- StackSpiller.Bindings.cs
- BamlLocalizableResource.cs
- BufferedGraphicsManager.cs
- FrameworkElementFactory.cs
- ScriptReferenceBase.cs
- RemoteWebConfigurationHost.cs
- ApplicationProxyInternal.cs
- CharacterMetrics.cs
- XmlEventCache.cs
- VisualBasicDesignerHelper.cs
- XamlFilter.cs
- MenuScrollingVisibilityConverter.cs
- ConnectionStringEditor.cs
- IgnoreSectionHandler.cs
- GeneralTransform2DTo3D.cs
- TraceContextEventArgs.cs
- FragmentQueryKB.cs
- ThreadInterruptedException.cs
- IndexOutOfRangeException.cs
- VectorAnimationUsingKeyFrames.cs
- ListChunk.cs
- precedingsibling.cs
- HtmlTable.cs
- PrintPreviewGraphics.cs
- Keywords.cs
- AnnotationAdorner.cs
- DataGridViewCellPaintingEventArgs.cs
- AuthorizationSection.cs
- TableLayoutStyleCollection.cs
- SchemaComplexType.cs
- ProbeRequestResponseAsyncResult.cs
- HttpRequest.cs
- SymbolPair.cs
- HttpBrowserCapabilitiesWrapper.cs
- AutomationPropertyInfo.cs
- SendKeys.cs
- PathTooLongException.cs
- ExtensibleClassFactory.cs
- FontNameConverter.cs
- GridItem.cs
- DataTableTypeConverter.cs
- GAC.cs
- CustomAttributeSerializer.cs
- BinaryUtilClasses.cs
- UIElementAutomationPeer.cs
- CoordinationService.cs
- localization.cs
- CommandField.cs
- _ShellExpression.cs
- ToolStripPanelRow.cs
- ExternalFile.cs
- TraceUtils.cs
- DataTableExtensions.cs
- selecteditemcollection.cs
- StyleHelper.cs
- PropertyMapper.cs
- ScriptControl.cs
- DoubleLinkListEnumerator.cs
- FileDialogPermission.cs
- VisualStyleRenderer.cs
- PathGeometry.cs
- KeyGestureValueSerializer.cs
- SpeakCompletedEventArgs.cs
- DispatcherEventArgs.cs
- IndexedString.cs
- SecurityTokenException.cs
- TextTrailingWordEllipsis.cs
- UniqueIdentifierService.cs
- Pkcs9Attribute.cs
- Exceptions.cs
- ADConnectionHelper.cs
- LabelAutomationPeer.cs
- TextViewDesigner.cs
- SqlDataSourceCommandEventArgs.cs
- AbstractSvcMapFileLoader.cs
- NetMsmqSecurityElement.cs