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
- RegexFCD.cs
- IdleTimeoutMonitor.cs
- PersonalizationAdministration.cs
- DesignerCatalogPartChrome.cs
- SslStream.cs
- CalendarTable.cs
- RegistryPermission.cs
- BinaryReader.cs
- Error.cs
- RtfFormatStack.cs
- ZipPackagePart.cs
- XPathMessageFilterTable.cs
- XmlSignatureProperties.cs
- PathFigure.cs
- SqlBuilder.cs
- MaskedTextBoxTextEditorDropDown.cs
- WebScriptEnablingElement.cs
- XNodeNavigator.cs
- ModifiableIteratorCollection.cs
- UpDownEvent.cs
- XmlILModule.cs
- Subtree.cs
- DefaultValueAttribute.cs
- ImageClickEventArgs.cs
- HWStack.cs
- TypeSystem.cs
- XPathAncestorIterator.cs
- DateTimeAutomationPeer.cs
- ErrorView.xaml.cs
- PreviewKeyDownEventArgs.cs
- GridViewColumnCollectionChangedEventArgs.cs
- WebBaseEventKeyComparer.cs
- PolygonHotSpot.cs
- PersonalizationAdministration.cs
- MetadataSource.cs
- BorderGapMaskConverter.cs
- Debugger.cs
- WsdlInspector.cs
- FileDialogPermission.cs
- BaseParser.cs
- ColumnWidthChangedEvent.cs
- SqlConnectionPoolProviderInfo.cs
- ItemsControlAutomationPeer.cs
- EventlogProvider.cs
- GACMembershipCondition.cs
- CustomError.cs
- GridItemCollection.cs
- RC2.cs
- LookupNode.cs
- XmlReflectionMember.cs
- ViewBox.cs
- EntityParameterCollection.cs
- ContractAdapter.cs
- Point3DCollection.cs
- ConnectivityStatus.cs
- CheckBoxAutomationPeer.cs
- EventArgs.cs
- DeleteWorkflowOwnerCommand.cs
- InvalidTimeZoneException.cs
- PathFigureCollectionValueSerializer.cs
- IPipelineRuntime.cs
- Opcode.cs
- CheckBox.cs
- SettingsPropertyWrongTypeException.cs
- SecurityKeyType.cs
- ClientSettingsSection.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- EnumerableRowCollectionExtensions.cs
- ClosableStream.cs
- EntityViewGenerator.cs
- Material.cs
- AttachmentCollection.cs
- PasswordBox.cs
- XmlElementCollection.cs
- QueryStoreStatusRequest.cs
- View.cs
- IdentitySection.cs
- EventToken.cs
- FixedHyperLink.cs
- OleDbMetaDataFactory.cs
- RuntimeIdentifierPropertyAttribute.cs
- VirtualizedContainerService.cs
- XmlDataDocument.cs
- DataGridViewBindingCompleteEventArgs.cs
- NativeCppClassAttribute.cs
- Single.cs
- ProtocolsSection.cs
- WebPartTracker.cs
- SelectionPatternIdentifiers.cs
- TemplateNameScope.cs
- EventNotify.cs
- ListItem.cs
- HtmlLink.cs
- NamespaceListProperty.cs
- SqlParameterCollection.cs
- TextBreakpoint.cs
- TextAdaptor.cs
- ExpressionCopier.cs
- WsdlBuildProvider.cs
- BigInt.cs