Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets a value /// indicating whether the operation should be cancelled. /// ///// 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
- TimeEnumHelper.cs
- MemoryMappedViewAccessor.cs
- EmbeddedMailObjectCollectionEditor.cs
- HttpStreamMessageEncoderFactory.cs
- TrackingWorkflowEventArgs.cs
- OperatingSystem.cs
- initElementDictionary.cs
- TaskHelper.cs
- RelativeSource.cs
- MessageEncoder.cs
- ChameleonKey.cs
- FilteredDataSetHelper.cs
- AlphabeticalEnumConverter.cs
- NetworkCredential.cs
- sqlstateclientmanager.cs
- ItemPager.cs
- ArrayHelper.cs
- AttributeQuery.cs
- PolicyManager.cs
- LogRecordSequence.cs
- SqlInfoMessageEvent.cs
- Expander.cs
- ClientConfigPaths.cs
- ZipIOExtraField.cs
- XPathExpr.cs
- InternalException.cs
- MissingManifestResourceException.cs
- SQLGuidStorage.cs
- TargetControlTypeCache.cs
- ConfigurationSectionCollection.cs
- Help.cs
- PrimitiveXmlSerializers.cs
- SessionStateUtil.cs
- Timeline.cs
- InfoCardClaimCollection.cs
- DataGridViewCellStyle.cs
- RootBuilder.cs
- ObjectParameter.cs
- DetailsViewInsertEventArgs.cs
- GenericNameHandler.cs
- ServiceModelSectionGroup.cs
- DataFormats.cs
- TextRange.cs
- DataGridTableCollection.cs
- SignatureGenerator.cs
- Metadata.cs
- MethodBuilder.cs
- XAMLParseException.cs
- OutOfMemoryException.cs
- WebConfigurationFileMap.cs
- TransportConfigurationTypeElementCollection.cs
- MsmqIntegrationInputChannel.cs
- DataBinding.cs
- CodeMemberEvent.cs
- Misc.cs
- PrimitiveXmlSerializers.cs
- HwndProxyElementProvider.cs
- Size.cs
- SafeMILHandleMemoryPressure.cs
- GridView.cs
- XmlSiteMapProvider.cs
- ValidatorCollection.cs
- AssemblyCache.cs
- TypeBuilderInstantiation.cs
- BaseCollection.cs
- LicenseManager.cs
- PrimarySelectionAdorner.cs
- UserControlCodeDomTreeGenerator.cs
- WebPartZoneDesigner.cs
- SmiContext.cs
- iisPickupDirectory.cs
- NetworkAddressChange.cs
- HttpBindingExtension.cs
- FamilyCollection.cs
- HttpHeaderCollection.cs
- TabPanel.cs
- RolePrincipal.cs
- HttpBufferlessInputStream.cs
- SecurityChannelListener.cs
- DataTableReaderListener.cs
- AndMessageFilter.cs
- GeneratedContractType.cs
- XsdBuildProvider.cs
- DataGridLinkButton.cs
- WinEventTracker.cs
- DataTableNewRowEvent.cs
- UpdateManifestForBrowserApplication.cs
- DrawListViewSubItemEventArgs.cs
- GlyphElement.cs
- TemplateContent.cs
- SecurityUtils.cs
- ZipPackagePart.cs
- ReadWriteObjectLock.cs
- TimeManager.cs
- ContextMenuStripGroupCollection.cs
- MarginCollapsingState.cs
- QueuedDeliveryRequirementsMode.cs
- NameSpaceExtractor.cs
- FileSecurity.cs
- DoubleUtil.cs