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
- DataProtection.cs
- WMIInterop.cs
- SoapMessage.cs
- TypeTypeConverter.cs
- BitVector32.cs
- DecimalConstantAttribute.cs
- OdbcConnection.cs
- ConnectionManagementElement.cs
- TemplatedWizardStep.cs
- TransactionManager.cs
- DriveNotFoundException.cs
- FacetChecker.cs
- PeerName.cs
- _BufferOffsetSize.cs
- DataGridTemplateColumn.cs
- SspiWrapper.cs
- SqlFunctionAttribute.cs
- ScriptMethodAttribute.cs
- RuntimeTrackingProfile.cs
- WebPartCatalogAddVerb.cs
- SparseMemoryStream.cs
- FacetDescriptionElement.cs
- TypeDescriptionProviderAttribute.cs
- RC2CryptoServiceProvider.cs
- SupportingTokenListenerFactory.cs
- VariantWrapper.cs
- DataGridViewLayoutData.cs
- HtmlInputRadioButton.cs
- HttpBrowserCapabilitiesWrapper.cs
- MatrixIndependentAnimationStorage.cs
- NavigatingCancelEventArgs.cs
- SHA384.cs
- Query.cs
- UnmanagedMemoryStream.cs
- ExpandCollapseProviderWrapper.cs
- RequiredFieldValidator.cs
- IntSecurity.cs
- DragStartedEventArgs.cs
- DeflateStream.cs
- BaseCodeDomTreeGenerator.cs
- BackgroundFormatInfo.cs
- TextSelectionHighlightLayer.cs
- EdmProviderManifest.cs
- XmlUtil.cs
- EntityDataSourceMemberPath.cs
- ProgressChangedEventArgs.cs
- PassportAuthenticationModule.cs
- ArgumentOutOfRangeException.cs
- ObjectDataSourceMethodEventArgs.cs
- ResourceDefaultValueAttribute.cs
- OleDbFactory.cs
- PropertyDescriptorComparer.cs
- SelectionProcessor.cs
- EntitySetRetriever.cs
- DesignerCommandSet.cs
- FacetChecker.cs
- XPathMultyIterator.cs
- GridViewUpdatedEventArgs.cs
- DataGridViewCellParsingEventArgs.cs
- PrimitiveXmlSerializers.cs
- SemaphoreSecurity.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SqlDesignerDataSourceView.cs
- ResourcesBuildProvider.cs
- DataKeyCollection.cs
- Collection.cs
- MobileErrorInfo.cs
- WindowsEditBoxRange.cs
- RemotingService.cs
- HuffModule.cs
- ScriptManagerProxy.cs
- CornerRadiusConverter.cs
- TextEditorMouse.cs
- InputProcessorProfilesLoader.cs
- CngUIPolicy.cs
- HyperLinkDesigner.cs
- ComboBoxRenderer.cs
- ToolZone.cs
- CompiledRegexRunner.cs
- HttpValueCollection.cs
- LookupBindingPropertiesAttribute.cs
- KeyMatchBuilder.cs
- ApplicationContext.cs
- ProgressBarRenderer.cs
- OdbcRowUpdatingEvent.cs
- NumberAction.cs
- ConfigurationLoader.cs
- SafeFileMappingHandle.cs
- APCustomTypeDescriptor.cs
- CorrelationInitializer.cs
- InvokePattern.cs
- MULTI_QI.cs
- PriorityBinding.cs
- DataDocumentXPathNavigator.cs
- LinqDataSourceView.cs
- PagedDataSource.cs
- ListViewInsertEventArgs.cs
- UidPropertyAttribute.cs
- InvalidContentTypeException.cs
- UserControlAutomationPeer.cs