Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DataGridDetailsPresenterAutomationPeer.cs
- InstanceDescriptor.cs
- TheQuery.cs
- OperationFormatter.cs
- ParameterCollection.cs
- ContainerFilterService.cs
- DetailsViewAutoFormat.cs
- PointF.cs
- WebExceptionStatus.cs
- DataSourceHelper.cs
- XmlCharCheckingReader.cs
- WebBrowser.cs
- DBAsyncResult.cs
- ElementMarkupObject.cs
- ToolStripGrip.cs
- SchemaImporterExtensionsSection.cs
- SizeF.cs
- NumberFormatter.cs
- TextElementEnumerator.cs
- LabelEditEvent.cs
- AsyncPostBackTrigger.cs
- TraceEventCache.cs
- ControlEvent.cs
- DataColumnPropertyDescriptor.cs
- PostBackTrigger.cs
- ChtmlFormAdapter.cs
- sqlcontext.cs
- AutomationPropertyInfo.cs
- InvokeHandlers.cs
- CounterSetInstance.cs
- DataMisalignedException.cs
- ExpressionHelper.cs
- HtmlDocument.cs
- ConnectionPointCookie.cs
- SiteIdentityPermission.cs
- ObjectListCommandEventArgs.cs
- DataRecord.cs
- SQLDecimalStorage.cs
- ForEachAction.cs
- TablePatternIdentifiers.cs
- CompilationUtil.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- HttpApplicationStateBase.cs
- Tuple.cs
- CollectionDataContract.cs
- RotateTransform.cs
- PenContext.cs
- XmlSchemaElement.cs
- SyndicationCategory.cs
- BitmapEffectInputConnector.cs
- WindowsRebar.cs
- EntityTransaction.cs
- CodeArrayCreateExpression.cs
- NamespaceList.cs
- SystemUdpStatistics.cs
- ContentType.cs
- DesignerInterfaces.cs
- DataSourceXmlClassAttribute.cs
- ObjectQuery.cs
- FormViewInsertEventArgs.cs
- Soap12ServerProtocol.cs
- XmlText.cs
- ComboBoxItem.cs
- ImmutableObjectAttribute.cs
- TableItemPattern.cs
- FileIOPermission.cs
- SynchronizingStream.cs
- TypeSystemHelpers.cs
- XPathNavigatorReader.cs
- Main.cs
- DataGridViewCheckBoxCell.cs
- _CookieModule.cs
- CharacterHit.cs
- FocusTracker.cs
- PassportIdentity.cs
- ModelPropertyDescriptor.cs
- PropertyGridEditorPart.cs
- DrawingContextWalker.cs
- XmlIncludeAttribute.cs
- EntryWrittenEventArgs.cs
- ConstantSlot.cs
- Image.cs
- DesignerSerializationOptionsAttribute.cs
- DataGridViewRowPostPaintEventArgs.cs
- InvalidComObjectException.cs
- XPathParser.cs
- odbcmetadatafactory.cs
- PenCursorManager.cs
- HandleCollector.cs
- DataViewSetting.cs
- MemoryFailPoint.cs
- DataGridViewCheckBoxCell.cs
- HandledEventArgs.cs
- SessionPageStatePersister.cs
- AssemblyUtil.cs
- CaretElement.cs
- TraceContext.cs
- PlaceHolder.cs
- Operator.cs
- MetadataCacheItem.cs