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
- WindowHelperService.cs
- Internal.cs
- Variable.cs
- DetailsViewInsertEventArgs.cs
- OracleParameterBinding.cs
- ArraySortHelper.cs
- MultiDataTrigger.cs
- SQLRoleProvider.cs
- BaseTemplateParser.cs
- AndAlso.cs
- InvalidDocumentContentsException.cs
- TreeNodeCollectionEditorDialog.cs
- Ticks.cs
- XmlSerializationReader.cs
- SystemDiagnosticsSection.cs
- RegistryExceptionHelper.cs
- Number.cs
- SelectiveScrollingGrid.cs
- _CommandStream.cs
- ImageKeyConverter.cs
- XmlException.cs
- SqlDataSourceSummaryPanel.cs
- WebPartsSection.cs
- MiniModule.cs
- EditableTreeList.cs
- HostingEnvironmentException.cs
- EntityConnectionStringBuilder.cs
- cookie.cs
- InputLanguageProfileNotifySink.cs
- RuleCache.cs
- ProfilePropertyMetadata.cs
- ContourSegment.cs
- Triangle.cs
- ToolStripDropTargetManager.cs
- ProcessThread.cs
- DefaultBinder.cs
- HitTestWithPointDrawingContextWalker.cs
- EUCJPEncoding.cs
- XmlBinaryReaderSession.cs
- SQLGuidStorage.cs
- Registry.cs
- SlotInfo.cs
- DataServiceException.cs
- FileSystemWatcher.cs
- WebSysDisplayNameAttribute.cs
- MessageBox.cs
- ReplyAdapterChannelListener.cs
- ZoneMembershipCondition.cs
- SyndicationElementExtension.cs
- StatusBarItem.cs
- RenderingBiasValidation.cs
- JournalEntryListConverter.cs
- Image.cs
- SqlMethodCallConverter.cs
- documentsequencetextview.cs
- WinFormsComponentEditor.cs
- MenuEventArgs.cs
- ModelUIElement3D.cs
- ServiceOperation.cs
- Method.cs
- X509Utils.cs
- OleDbRowUpdatedEvent.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- LayoutDump.cs
- SignatureHelper.cs
- HtmlInputButton.cs
- ImageBrush.cs
- VisualTarget.cs
- DataGridViewCellValidatingEventArgs.cs
- ComponentDispatcher.cs
- WCFServiceClientProxyGenerator.cs
- _DomainName.cs
- FileDetails.cs
- TypeElement.cs
- ConfigurationStrings.cs
- VScrollProperties.cs
- XmlSerializerAssemblyAttribute.cs
- SecurityElementBase.cs
- URLAttribute.cs
- Visual3D.cs
- WebEvents.cs
- Pick.cs
- MobileListItem.cs
- XPathScanner.cs
- EntityViewContainer.cs
- AddressingProperty.cs
- RenderData.cs
- X509ChainElement.cs
- OpCodes.cs
- SpeechRecognitionEngine.cs
- FileRecordSequenceHelper.cs
- RadioButtonFlatAdapter.cs
- NotSupportedException.cs
- ValidationRuleCollection.cs
- WebPartConnectionsConfigureVerb.cs
- CursorConverter.cs
- SystemIPGlobalProperties.cs
- HtmlSelect.cs
- CoreSwitches.cs
- TraceContext.cs