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
- AuthenticationSection.cs
- RegexBoyerMoore.cs
- MaskedTextProvider.cs
- EntityDataSourceSelectingEventArgs.cs
- TailPinnedEventArgs.cs
- MiniMapControl.xaml.cs
- ConditionalAttribute.cs
- XmlSchemaObjectCollection.cs
- TextBox.cs
- FormattedTextSymbols.cs
- ViewStateModeByIdAttribute.cs
- IgnorePropertiesAttribute.cs
- ScriptingWebServicesSectionGroup.cs
- SmiMetaDataProperty.cs
- PointCollection.cs
- DiagnosticTrace.cs
- QuotedStringWriteStateInfo.cs
- TrackingProfileSerializer.cs
- TextServicesLoader.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- WriterOutput.cs
- RequestCacheManager.cs
- EraserBehavior.cs
- Margins.cs
- NumberAction.cs
- ListChangedEventArgs.cs
- ConsoleCancelEventArgs.cs
- SQLResource.cs
- ManagementClass.cs
- DefaultBinder.cs
- ValueQuery.cs
- InlineCategoriesDocument.cs
- ItemMap.cs
- UnsupportedPolicyOptionsException.cs
- PerspectiveCamera.cs
- AutomationElement.cs
- SynchronizationContextHelper.cs
- ToolStripLocationCancelEventArgs.cs
- DocumentReferenceCollection.cs
- UserControl.cs
- SoapAttributeOverrides.cs
- XmlValueConverter.cs
- Int32Collection.cs
- OrderedDictionary.cs
- FrameworkElement.cs
- HandlerFactoryWrapper.cs
- ChtmlPhoneCallAdapter.cs
- WorkflowInstanceSuspendedRecord.cs
- SiteMapNodeCollection.cs
- DependencyPropertyDescriptor.cs
- ScopedKnownTypes.cs
- ImageSource.cs
- PcmConverter.cs
- PageAsyncTask.cs
- NamespaceList.cs
- FullTrustAssembly.cs
- ActiveXHelper.cs
- ToolboxItemAttribute.cs
- PassportPrincipal.cs
- PersianCalendar.cs
- Inline.cs
- VisualStyleElement.cs
- UserNameSecurityTokenAuthenticator.cs
- SqlDuplicator.cs
- RecoverInstanceLocksCommand.cs
- HtmlLink.cs
- TreeNodeClickEventArgs.cs
- Span.cs
- PatternMatcher.cs
- ListItemCollection.cs
- XmlStreamNodeWriter.cs
- ScriptIgnoreAttribute.cs
- SeekStoryboard.cs
- TextFormatter.cs
- ChtmlTextWriter.cs
- RegexCompilationInfo.cs
- Quaternion.cs
- Configuration.cs
- StandardCommands.cs
- TextEditorSelection.cs
- CheckBoxBaseAdapter.cs
- ComplexType.cs
- EntityModelBuildProvider.cs
- CmsInterop.cs
- PropertyPath.cs
- ConversionHelper.cs
- SSmlParser.cs
- DecoratedNameAttribute.cs
- StateManagedCollection.cs
- UInt64.cs
- ProxyFragment.cs
- CellTreeNode.cs
- Int64Converter.cs
- autovalidator.cs
- ProviderException.cs
- Equal.cs
- Property.cs
- ExternalFile.cs
- DictionaryGlobals.cs
- documentsequencetextpointer.cs