Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / HandledEventArgs.cs / 1 / HandledEventArgs.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 HandledEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// Indicates, on return, whether or not the event was handled in the application's event handler. /// 'true' means the application handled the event, 'false' means it didn't. /// private bool handled; ////// public HandledEventArgs() : this(false) { } ////// Initializes a new instance of the ///class with /// handled set to . /// /// public HandledEventArgs(bool defaultHandledValue) : base() { this.handled = defaultHandledValue; } ////// Initializes a new instance of the ///class with /// handled set to the given value. /// /// public bool Handled { get { return this.handled; } set { this.handled = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets a value /// indicating whether the event is handled. /// ///// 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 HandledEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// Indicates, on return, whether or not the event was handled in the application's event handler. /// 'true' means the application handled the event, 'false' means it didn't. /// private bool handled; ////// public HandledEventArgs() : this(false) { } ////// Initializes a new instance of the ///class with /// handled set to . /// /// public HandledEventArgs(bool defaultHandledValue) : base() { this.handled = defaultHandledValue; } ////// Initializes a new instance of the ///class with /// handled set to the given value. /// /// public bool Handled { get { return this.handled; } set { this.handled = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets a value /// indicating whether the event is handled. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Parameter.cs
- CaseInsensitiveHashCodeProvider.cs
- BuildProviderUtils.cs
- SourceFilter.cs
- NetNamedPipeSecurity.cs
- DateTimeOffsetStorage.cs
- AutomationPropertyInfo.cs
- XslTransform.cs
- ApplicationException.cs
- ColorContextHelper.cs
- xmlfixedPageInfo.cs
- RequestQueryParser.cs
- CodeStatementCollection.cs
- LoadedEvent.cs
- MemberAssignment.cs
- BufferedGraphicsManager.cs
- ControlCollection.cs
- WSSecurityPolicy.cs
- PerformanceCounterPermission.cs
- CodeMemberProperty.cs
- SemanticBasicElement.cs
- dbenumerator.cs
- RSAProtectedConfigurationProvider.cs
- PolyLineSegment.cs
- ToolStripSplitButton.cs
- ViewKeyConstraint.cs
- DataGridDetailsPresenterAutomationPeer.cs
- Material.cs
- CompressEmulationStream.cs
- ExchangeUtilities.cs
- NamespaceEmitter.cs
- Helpers.cs
- GeneralTransform.cs
- SqlConnectionManager.cs
- ChannelTerminatedException.cs
- DataGridViewRowPostPaintEventArgs.cs
- OpacityConverter.cs
- ModelItemImpl.cs
- CodeTypeReferenceCollection.cs
- SrgsElement.cs
- XmlReflectionImporter.cs
- DrawingBrush.cs
- Rijndael.cs
- TypeBuilder.cs
- ellipse.cs
- Viewport3DAutomationPeer.cs
- ClientScriptManagerWrapper.cs
- IdentitySection.cs
- SpecialNameAttribute.cs
- ContentElementAutomationPeer.cs
- BooleanStorage.cs
- DataGridViewSelectedColumnCollection.cs
- CopyNamespacesAction.cs
- WebPartTracker.cs
- CircleEase.cs
- LoginStatusDesigner.cs
- XmlSerializerSection.cs
- DocumentSchemaValidator.cs
- CodeExporter.cs
- PageRequestManager.cs
- CompositeFontParser.cs
- RelationshipEntry.cs
- ClientSettingsSection.cs
- HashMembershipCondition.cs
- ComponentCollection.cs
- OutputCacheSettingsSection.cs
- SrgsElementList.cs
- ValueChangedEventManager.cs
- UnionCodeGroup.cs
- BitmapEffectGroup.cs
- WindowProviderWrapper.cs
- ExtendedPropertiesHandler.cs
- PromptBuilder.cs
- ValidationSummary.cs
- TemplateManager.cs
- WindowsAltTab.cs
- BaseTreeIterator.cs
- DependencyProperty.cs
- XmlDocumentFragment.cs
- SafeHandle.cs
- HttpRequest.cs
- SystemFonts.cs
- PeerToPeerException.cs
- DetailsViewInsertedEventArgs.cs
- TTSEvent.cs
- DynamicPropertyReader.cs
- MonikerBuilder.cs
- VectorCollection.cs
- TiffBitmapEncoder.cs
- SplitterPanel.cs
- OutputCacheSettings.cs
- RoleGroupCollection.cs
- ClientTarget.cs
- VarRemapper.cs
- XmlCodeExporter.cs
- AncestorChangedEventArgs.cs
- ValidationHelper.cs
- Boolean.cs
- DBAsyncResult.cs
- HostSecurityManager.cs