Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / HandledEventArgs.cs / 1305376 / 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
- ComponentEvent.cs
- Expression.cs
- EventSetterHandlerConverter.cs
- CacheEntry.cs
- LingerOption.cs
- EventEntry.cs
- RequestCacheManager.cs
- EndpointAddressElementBase.cs
- TextEffectCollection.cs
- ChainOfResponsibility.cs
- Rect3D.cs
- ClientSideProviderDescription.cs
- ExtentKey.cs
- PointLightBase.cs
- ConfigXmlAttribute.cs
- CheckBoxFlatAdapter.cs
- MenuAdapter.cs
- LinearKeyFrames.cs
- WebPartTransformer.cs
- SchemaImporterExtensionElementCollection.cs
- DataGridItem.cs
- ApplicationProxyInternal.cs
- ModuleConfigurationInfo.cs
- ColorDialog.cs
- WinEventHandler.cs
- SafeNativeMethods.cs
- DetailsViewRow.cs
- ErrorTolerantObjectWriter.cs
- StreamHelper.cs
- ProtocolViolationException.cs
- CaseInsensitiveComparer.cs
- CodeNamespaceImportCollection.cs
- XPathNavigatorKeyComparer.cs
- PageParser.cs
- ImageIndexConverter.cs
- WinCategoryAttribute.cs
- ReadOnlyNameValueCollection.cs
- ListMarkerSourceInfo.cs
- RuntimeCompatibilityAttribute.cs
- MenuCommandService.cs
- ApplicationSecurityInfo.cs
- EncoderBestFitFallback.cs
- DefaultSerializationProviderAttribute.cs
- SqlGenericUtil.cs
- XmlChildEnumerator.cs
- FrameworkContentElementAutomationPeer.cs
- DesignerAttribute.cs
- XmlWriterSettings.cs
- AppSettingsReader.cs
- NetworkInformationException.cs
- PartialTrustValidationBehavior.cs
- ReadOnlyCollection.cs
- sqlser.cs
- DataGridCellsPresenter.cs
- DBSchemaTable.cs
- CollectionView.cs
- WpfKnownMemberInvoker.cs
- Interlocked.cs
- PageTheme.cs
- SeekStoryboard.cs
- StreamUpdate.cs
- DataObjectMethodAttribute.cs
- SqlIdentifier.cs
- DataChangedEventManager.cs
- EventProxy.cs
- CompModSwitches.cs
- AQNBuilder.cs
- SafeIUnknown.cs
- TemplatedMailWebEventProvider.cs
- ObservableDictionary.cs
- FixedPageProcessor.cs
- RouteData.cs
- UnionCqlBlock.cs
- ValidatingCollection.cs
- Activity.cs
- RadioButton.cs
- BitmapEffectState.cs
- SHA512Managed.cs
- SharedUtils.cs
- Recipient.cs
- EndpointDiscoveryBehavior.cs
- RemoteEndpointMessageProperty.cs
- SmtpFailedRecipientsException.cs
- MethodExecutor.cs
- AsymmetricAlgorithm.cs
- XmlDataSourceNodeDescriptor.cs
- AudioFormatConverter.cs
- GridViewSelectEventArgs.cs
- DependencyPropertyAttribute.cs
- ManagementQuery.cs
- GC.cs
- RadialGradientBrush.cs
- PolicyLevel.cs
- SelectionChangedEventArgs.cs
- XamlFrame.cs
- TypeLibConverter.cs
- BaseProcessor.cs
- Publisher.cs
- LocalFileSettingsProvider.cs
- PointLightBase.cs