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
- MessageUtil.cs
- EntityDataSourceView.cs
- Image.cs
- DataGridViewCellLinkedList.cs
- NamespaceMapping.cs
- WizardStepBase.cs
- PropertyRecord.cs
- EnlistmentTraceIdentifier.cs
- PrintEvent.cs
- WebPartTransformer.cs
- DataGridItem.cs
- WarningException.cs
- FtpWebRequest.cs
- InfoCardAsymmetricCrypto.cs
- LicenseProviderAttribute.cs
- IisTraceListener.cs
- CodePageUtils.cs
- HtmlInputRadioButton.cs
- DataSourceControlBuilder.cs
- AssociatedControlConverter.cs
- DependencySource.cs
- UICuesEvent.cs
- Util.cs
- ProcessMessagesAsyncResult.cs
- ThreadExceptionEvent.cs
- NewArray.cs
- Int32Animation.cs
- CultureInfo.cs
- mactripleDES.cs
- RealizationContext.cs
- MaterialGroup.cs
- FlowLayoutSettings.cs
- ConfigPathUtility.cs
- SizeKeyFrameCollection.cs
- WebConfigurationHostFileChange.cs
- HttpModuleActionCollection.cs
- PeerUnsafeNativeCryptMethods.cs
- ResetableIterator.cs
- XomlDesignerLoader.cs
- ColorTransformHelper.cs
- ProxyAttribute.cs
- ByteAnimation.cs
- PackageFilter.cs
- DataTemplateSelector.cs
- RuntimeConfigLKG.cs
- StringTraceRecord.cs
- TreeViewItemAutomationPeer.cs
- DataKeyCollection.cs
- SystemInformation.cs
- XmlWrappingWriter.cs
- ScriptHandlerFactory.cs
- DiagnosticSection.cs
- DateBoldEvent.cs
- SimpleType.cs
- RSACryptoServiceProvider.cs
- ProviderSettingsCollection.cs
- DoubleCollection.cs
- BatchParser.cs
- SingleKeyFrameCollection.cs
- PngBitmapEncoder.cs
- TreeIterator.cs
- TreeViewImageKeyConverter.cs
- XamlStyleSerializer.cs
- KerberosRequestorSecurityToken.cs
- StateItem.cs
- EnumerableValidator.cs
- DataGridViewButtonCell.cs
- ChildTable.cs
- DynamicMethod.cs
- EventMetadata.cs
- InputLanguageCollection.cs
- CollaborationHelperFunctions.cs
- TextDataBindingHandler.cs
- FamilyMapCollection.cs
- NamespaceList.cs
- ViewGenerator.cs
- MyContact.cs
- CompositeScriptReference.cs
- CodeTryCatchFinallyStatement.cs
- RemoveStoryboard.cs
- SystemSounds.cs
- NamespaceQuery.cs
- HierarchicalDataSourceConverter.cs
- SiteMapPath.cs
- SafeNativeMethods.cs
- CallbackHandler.cs
- PreviewKeyDownEventArgs.cs
- Component.cs
- XmlDataImplementation.cs
- HitTestParameters.cs
- Substitution.cs
- ScrollChrome.cs
- CapabilitiesRule.cs
- WebPartZone.cs
- Point3DKeyFrameCollection.cs
- RightsManagementResourceHelper.cs
- JsonDeserializer.cs
- MultipartContentParser.cs
- TraceContextRecord.cs
- BackgroundFormatInfo.cs