Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AnonymousIdentificationModule.cs
- DbConnectionStringCommon.cs
- InvariantComparer.cs
- CodeDomConfigurationHandler.cs
- GridViewRowPresenter.cs
- SemanticAnalyzer.cs
- DataControlFieldCell.cs
- DataListItem.cs
- ZoneLinkButton.cs
- KeyGesture.cs
- DragDeltaEventArgs.cs
- DBSchemaTable.cs
- AssociationSet.cs
- DoubleLink.cs
- BamlCollectionHolder.cs
- CaseInsensitiveHashCodeProvider.cs
- SecurityRuntime.cs
- PointAnimationUsingKeyFrames.cs
- StringValueSerializer.cs
- GridItemPattern.cs
- Int32EqualityComparer.cs
- NetworkInformationException.cs
- StringValueConverter.cs
- shaper.cs
- MulticastDelegate.cs
- ClientConfigPaths.cs
- DBCSCodePageEncoding.cs
- HtmlTextArea.cs
- TargetPerspective.cs
- WebPartDisplayModeCancelEventArgs.cs
- LineBreakRecord.cs
- ConnectionProviderAttribute.cs
- XmlDownloadManager.cs
- HwndSource.cs
- PriorityBinding.cs
- StrokeCollection2.cs
- SparseMemoryStream.cs
- HttpProcessUtility.cs
- ConfigurationLockCollection.cs
- DocumentAutomationPeer.cs
- Visual3D.cs
- HostProtectionException.cs
- CodeExpressionCollection.cs
- SchemaElementDecl.cs
- QualificationDataAttribute.cs
- DataTableMapping.cs
- ChannelCacheDefaults.cs
- DriveNotFoundException.cs
- PeerTransportSecuritySettings.cs
- ProtocolReflector.cs
- MergePropertyDescriptor.cs
- SignatureToken.cs
- ModelFactory.cs
- HandlerFactoryWrapper.cs
- TextEffect.cs
- ArrayEditor.cs
- TranslateTransform3D.cs
- PageCatalogPart.cs
- ControlUtil.cs
- DesignerResources.cs
- DataSourceConverter.cs
- ListViewDeleteEventArgs.cs
- MULTI_QI.cs
- ContextMenu.cs
- WebUtil.cs
- FixedSOMImage.cs
- DesigntimeLicenseContext.cs
- SqlTopReducer.cs
- StringConverter.cs
- DocumentPageHost.cs
- SqlClientPermission.cs
- TypeDescriptorFilterService.cs
- ConfigurationCollectionAttribute.cs
- NestPullup.cs
- Buffer.cs
- ListBindingHelper.cs
- TextTreeTextNode.cs
- DSACryptoServiceProvider.cs
- PerformanceCounters.cs
- VisualTreeUtils.cs
- MsmqIntegrationProcessProtocolHandler.cs
- SelfIssuedAuthRSACryptoProvider.cs
- SmtpAuthenticationManager.cs
- DataColumn.cs
- XPathMultyIterator.cs
- DropDownButton.cs
- MimeWriter.cs
- ISAPIRuntime.cs
- WrapperEqualityComparer.cs
- DependsOnAttribute.cs
- IisTraceWebEventProvider.cs
- PerformanceCounterCategory.cs
- RequestQueryParser.cs
- Clipboard.cs
- sortedlist.cs
- BoundField.cs
- Attachment.cs
- PieceDirectory.cs
- Transactions.cs
- FirstMatchCodeGroup.cs