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
- ExtensionSimplifierMarkupObject.cs
- SerialPinChanges.cs
- CompositeTypefaceMetrics.cs
- RepeaterDesigner.cs
- CodeBlockBuilder.cs
- JavaScriptSerializer.cs
- XmlTextReader.cs
- PartitionResolver.cs
- InnerItemCollectionView.cs
- Synchronization.cs
- hresults.cs
- HierarchicalDataBoundControlAdapter.cs
- RuntimeCompatibilityAttribute.cs
- EllipticalNodeOperations.cs
- TouchEventArgs.cs
- webclient.cs
- X509Extension.cs
- WebPartRestoreVerb.cs
- MenuItem.cs
- DataQuery.cs
- WaitForChangedResult.cs
- FlowDocumentPageViewerAutomationPeer.cs
- NavigatingCancelEventArgs.cs
- _ShellExpression.cs
- WindowsListViewSubItem.cs
- SecurityKeyType.cs
- WebEventTraceProvider.cs
- GlobalAllocSafeHandle.cs
- SQLDecimalStorage.cs
- ApplicationFileParser.cs
- ListViewItem.cs
- StylusDownEventArgs.cs
- HostAdapter.cs
- SevenBitStream.cs
- HighlightComponent.cs
- TableCell.cs
- Gdiplus.cs
- TreeIterator.cs
- ObjectManager.cs
- DefaultPropertyAttribute.cs
- XmlSchemaComplexContent.cs
- Base64WriteStateInfo.cs
- XmlSerializer.cs
- XmlDsigSep2000.cs
- ControlLocalizer.cs
- CustomCategoryAttribute.cs
- BitmapEffectDrawingContent.cs
- DateTimeFormat.cs
- StrongBox.cs
- DataGridAddNewRow.cs
- PassportPrincipal.cs
- EntityKey.cs
- ColumnMap.cs
- XmlException.cs
- DynamicPropertyReader.cs
- UsernameTokenFactoryCredential.cs
- FixUpCollection.cs
- SqlAggregateChecker.cs
- XmlSchemaProviderAttribute.cs
- DateTimeOffsetConverter.cs
- CodeDirectionExpression.cs
- CultureInfo.cs
- ComponentGlyph.cs
- WorkflowDesignerColors.cs
- UnmanagedMemoryStreamWrapper.cs
- ConnectionPoint.cs
- WinFormsComponentEditor.cs
- PropertyGrid.cs
- CodeTypeOfExpression.cs
- BaseTemplateParser.cs
- RightsManagementEncryptedStream.cs
- ChtmlTextWriter.cs
- AuthenticationService.cs
- MatrixStack.cs
- HandledMouseEvent.cs
- RegexMatch.cs
- StylusPointPropertyId.cs
- ConstrainedDataObject.cs
- ChannelListenerBase.cs
- RightsManagementLicense.cs
- CacheForPrimitiveTypes.cs
- LoadRetryStrategyFactory.cs
- MailMessage.cs
- ServicesExceptionNotHandledEventArgs.cs
- WsiProfilesElementCollection.cs
- UIElementParagraph.cs
- LinqDataSourceContextEventArgs.cs
- ControlParameter.cs
- WasAdminWrapper.cs
- DrawingCollection.cs
- ProfileGroupSettingsCollection.cs
- WebPartConnectionsEventArgs.cs
- Rect3DValueSerializer.cs
- SessionStateUtil.cs
- JoinTreeSlot.cs
- SecurityPolicySection.cs
- CellPartitioner.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- ContainerParaClient.cs
- ClientTargetCollection.cs