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
- KeyValuePairs.cs
- EnumConverter.cs
- StatusBar.cs
- ControlPaint.cs
- LambdaCompiler.ControlFlow.cs
- SchemaTypeEmitter.cs
- PeerChannelFactory.cs
- ObjectStateEntryDbDataRecord.cs
- DataColumnChangeEvent.cs
- EntityDataSourceReferenceGroup.cs
- Workspace.cs
- NamespaceList.cs
- SmtpLoginAuthenticationModule.cs
- OracleCommandBuilder.cs
- DependencyPropertyHelper.cs
- DataObjectEventArgs.cs
- EmulateRecognizeCompletedEventArgs.cs
- OnOperation.cs
- SpecularMaterial.cs
- DataSourceSelectArguments.cs
- InvalidateEvent.cs
- XsltLibrary.cs
- XsdBuilder.cs
- SHA512.cs
- OleDbReferenceCollection.cs
- SizeAnimationClockResource.cs
- CssStyleCollection.cs
- X509InitiatorCertificateServiceElement.cs
- DownloadProgressEventArgs.cs
- JavaScriptSerializer.cs
- Maps.cs
- ReadOnlyPropertyMetadata.cs
- StringConcat.cs
- ProviderCollection.cs
- IHttpResponseInternal.cs
- columnmapkeybuilder.cs
- HtmlInputRadioButton.cs
- HostingEnvironmentException.cs
- XmlFormatReaderGenerator.cs
- WebPartUtil.cs
- HitTestWithGeometryDrawingContextWalker.cs
- TextFormatter.cs
- XslException.cs
- x509utils.cs
- ObjectQueryExecutionPlan.cs
- EntityModelSchemaGenerator.cs
- ListViewGroupItemCollection.cs
- MemoryStream.cs
- RoleServiceManager.cs
- RegisteredHiddenField.cs
- HostingEnvironmentException.cs
- LinearGradientBrush.cs
- UniqueIdentifierService.cs
- TextStore.cs
- PanelContainerDesigner.cs
- ToolboxComponentsCreatedEventArgs.cs
- AttributeParameterInfo.cs
- Clock.cs
- DataSourceGeneratorException.cs
- XmlAttribute.cs
- SqlUserDefinedAggregateAttribute.cs
- CompositeControl.cs
- GridItemProviderWrapper.cs
- XmlLoader.cs
- XmlSchemaAttributeGroup.cs
- RightsManagementPermission.cs
- WebZone.cs
- XmlObjectSerializerReadContext.cs
- TemplateColumn.cs
- InvalidOperationException.cs
- VisualBrush.cs
- MessageEncodingBindingElement.cs
- OpenTypeCommon.cs
- ApplicationProxyInternal.cs
- PinnedBufferMemoryStream.cs
- Int32RectConverter.cs
- PersistenceTypeAttribute.cs
- Perspective.cs
- EmptyReadOnlyDictionaryInternal.cs
- ShaderRenderModeValidation.cs
- ObjectKeyFrameCollection.cs
- TraceSource.cs
- DocumentProperties.cs
- AsymmetricKeyExchangeDeformatter.cs
- ClockController.cs
- VSWCFServiceContractGenerator.cs
- IssuedTokenClientCredential.cs
- CompiledScopeCriteria.cs
- BindingOperations.cs
- Atom10FormatterFactory.cs
- XMLSchema.cs
- HttpContextServiceHost.cs
- WindowsListViewGroup.cs
- RequiredFieldValidator.cs
- XmlSchemaAttributeGroup.cs
- ObjectRef.cs
- StringToken.cs
- TabItemAutomationPeer.cs
- Mutex.cs
- FlowLayoutPanelDesigner.cs