Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / CancelEventArgs.cs / 1305376 / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PassportAuthenticationModule.cs
- BridgeDataReader.cs
- FormsAuthenticationModule.cs
- TextRangeEditTables.cs
- PropertyEmitter.cs
- SecurityTokenTypes.cs
- ResourcesGenerator.cs
- ToReply.cs
- Validator.cs
- diagnosticsswitches.cs
- ELinqQueryState.cs
- DispatcherHooks.cs
- MessagePropertyAttribute.cs
- XPathDescendantIterator.cs
- EqualityComparer.cs
- RectangleHotSpot.cs
- BitmapMetadata.cs
- Expr.cs
- CodeSnippetTypeMember.cs
- CryptoHelper.cs
- FtpWebRequest.cs
- FileDialog_Vista_Interop.cs
- DateTimeFormatInfoScanner.cs
- CancellationState.cs
- EntityAdapter.cs
- ImagingCache.cs
- WebPartMenu.cs
- UpWmlPageAdapter.cs
- ExpandableObjectConverter.cs
- SqlDataSourceFilteringEventArgs.cs
- SiteMapProvider.cs
- ComponentTray.cs
- PermissionToken.cs
- WinFormsSecurity.cs
- ClusterRegistryConfigurationProvider.cs
- CommandHelpers.cs
- SQLUtility.cs
- RootCodeDomSerializer.cs
- DateTimeFormatInfo.cs
- X509WindowsSecurityToken.cs
- DbConnectionPoolOptions.cs
- HeaderElement.cs
- WebContext.cs
- LinkLabelLinkClickedEvent.cs
- ExitEventArgs.cs
- ThemeableAttribute.cs
- ShowExpandedMultiValueConverter.cs
- SQLMoneyStorage.cs
- GlyphCache.cs
- VectorAnimationBase.cs
- ResourceContainer.cs
- SecurityRuntime.cs
- GcHandle.cs
- SQLDecimal.cs
- UpdatePanelTriggerCollection.cs
- ArgIterator.cs
- DateTimeOffsetAdapter.cs
- Model3DGroup.cs
- SessionPageStateSection.cs
- SafeMarshalContext.cs
- PermissionSetTriple.cs
- ParameterModifier.cs
- XmlAnyElementAttributes.cs
- entityreference_tresulttype.cs
- NameNode.cs
- ViewValidator.cs
- TypeGeneratedEventArgs.cs
- LocalValueEnumerator.cs
- ChangeConflicts.cs
- UnsafeNativeMethodsCLR.cs
- ConfigurationException.cs
- SizeConverter.cs
- PolicyLevel.cs
- DrawingGroup.cs
- QilTypeChecker.cs
- ProfileGroupSettings.cs
- XmlEnumAttribute.cs
- ToolStripItemImageRenderEventArgs.cs
- GraphicsState.cs
- PerformanceCounterPermissionEntryCollection.cs
- SymbolEqualComparer.cs
- DurableDispatcherAddressingFault.cs
- SecurityResources.cs
- SecurityHelper.cs
- ActiveXHelper.cs
- MouseWheelEventArgs.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- CompositeFontInfo.cs
- TypographyProperties.cs
- BindingManagerDataErrorEventArgs.cs
- SqlDataSourceCommandEventArgs.cs
- Input.cs
- Floater.cs
- assemblycache.cs
- XmlSchemaAnnotation.cs
- WorkflowApplicationCompletedException.cs
- DataControlImageButton.cs
- WindowsBrush.cs
- SkewTransform.cs
- DataServiceRequest.cs