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
- WebPartEditorOkVerb.cs
- BuildProvider.cs
- WebPartTracker.cs
- TranslateTransform3D.cs
- PolyBezierSegment.cs
- XsltOutput.cs
- VersionedStream.cs
- ConcurrentQueue.cs
- HashCodeCombiner.cs
- HttpCachePolicyElement.cs
- TypedLocationWrapper.cs
- ToolStripItemRenderEventArgs.cs
- webproxy.cs
- Verify.cs
- DataGridCaption.cs
- BindingGroup.cs
- DockAndAnchorLayout.cs
- TimeStampChecker.cs
- BaseCollection.cs
- XamlInt32CollectionSerializer.cs
- UpdateCompiler.cs
- AsyncPostBackTrigger.cs
- DataViewSettingCollection.cs
- ComponentRenameEvent.cs
- ComboBoxAutomationPeer.cs
- UniqueTransportManagerRegistration.cs
- DataSourceProvider.cs
- BlockCollection.cs
- Configuration.cs
- FileIOPermission.cs
- WindowInteractionStateTracker.cs
- FormViewDeleteEventArgs.cs
- DEREncoding.cs
- FormViewUpdateEventArgs.cs
- XmlBinaryReaderSession.cs
- Action.cs
- TypeDelegator.cs
- TreeIterators.cs
- XomlCompiler.cs
- Helper.cs
- AutomationProperty.cs
- HWStack.cs
- SelectionPattern.cs
- ArrayElementGridEntry.cs
- LoadWorkflowByKeyAsyncResult.cs
- FileRecordSequenceHelper.cs
- HyperLinkStyle.cs
- arc.cs
- MessageQueue.cs
- ProfileParameter.cs
- ExpressionSelection.cs
- TraversalRequest.cs
- DependencySource.cs
- MetabaseSettingsIis7.cs
- XPathBuilder.cs
- EndEvent.cs
- ArrayList.cs
- PropertyEntry.cs
- DataGridItemCollection.cs
- PostBackTrigger.cs
- PlainXmlSerializer.cs
- TagPrefixInfo.cs
- WSDualHttpSecurityElement.cs
- SHA384.cs
- XmlRawWriterWrapper.cs
- SpellCheck.cs
- ByeOperationCD1AsyncResult.cs
- DashStyle.cs
- RuntimeUtils.cs
- FontInfo.cs
- SafeNativeMethods.cs
- UnsafeNativeMethods.cs
- AsyncOperationContext.cs
- ListItemParagraph.cs
- httpserverutility.cs
- SupportingTokenProviderSpecification.cs
- OleDbFactory.cs
- SqlUserDefinedAggregateAttribute.cs
- XmlObjectSerializerWriteContext.cs
- Renderer.cs
- SqlBuffer.cs
- CompiledRegexRunnerFactory.cs
- DependencyProperty.cs
- IdentityManager.cs
- MinMaxParagraphWidth.cs
- DiagnosticTrace.cs
- DataGridRowDetailsEventArgs.cs
- TextAutomationPeer.cs
- DockPatternIdentifiers.cs
- SafeNativeMethods.cs
- ActivityValidator.cs
- NavigatingCancelEventArgs.cs
- ListViewCommandEventArgs.cs
- SQLUtility.cs
- SymLanguageType.cs
- SqlUtils.cs
- NameNode.cs
- ellipse.cs
- CodeAttachEventStatement.cs
- Unit.cs