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
- NodeLabelEditEvent.cs
- ArgIterator.cs
- HtmlTableRow.cs
- WebPartDisplayMode.cs
- TextStore.cs
- CodeArrayIndexerExpression.cs
- BitmapFrameDecode.cs
- BasicHttpSecurityMode.cs
- WorkingDirectoryEditor.cs
- StyleSelector.cs
- WsdlBuildProvider.cs
- XmlWellformedWriter.cs
- TextSelectionHelper.cs
- DoubleLinkList.cs
- Material.cs
- StaticContext.cs
- MdImport.cs
- RouteItem.cs
- validationstate.cs
- ItemsControlAutomationPeer.cs
- ClusterSafeNativeMethods.cs
- NetMsmqSecurityElement.cs
- StringSorter.cs
- InstalledVoice.cs
- RijndaelManaged.cs
- DataGridViewDataErrorEventArgs.cs
- RecipientInfo.cs
- WebPartsSection.cs
- XhtmlBasicListAdapter.cs
- PixelShader.cs
- ConfigurationManager.cs
- ApplicationInfo.cs
- DocumentAutomationPeer.cs
- UpdateException.cs
- UniformGrid.cs
- PackagePart.cs
- TextContainerChangeEventArgs.cs
- typedescriptorpermissionattribute.cs
- AdapterDictionary.cs
- HashCodeCombiner.cs
- CircleHotSpot.cs
- TextRenderer.cs
- HyperLink.cs
- FormParameter.cs
- Lasso.cs
- ParsedAttributeCollection.cs
- GridSplitter.cs
- BuildResultCache.cs
- ProgressBarAutomationPeer.cs
- ChameleonKey.cs
- ScopeCompiler.cs
- ExpressionPrefixAttribute.cs
- ImageFormat.cs
- DesignerActionList.cs
- DynamicUpdateCommand.cs
- TextDataBindingHandler.cs
- ElementNotEnabledException.cs
- MarshalByRefObject.cs
- InputMethod.cs
- InputMethodStateTypeInfo.cs
- SamlAttribute.cs
- XmlDataProvider.cs
- Subtree.cs
- StreamReader.cs
- DataGridBoolColumn.cs
- DiscoveryEndpointValidator.cs
- StringSource.cs
- TemplateEditingVerb.cs
- ObjectQueryState.cs
- NativeDirectoryServicesQueryAPIs.cs
- AnimatedTypeHelpers.cs
- SurrogateEncoder.cs
- XmlWriter.cs
- ObjectTag.cs
- WebConfigurationManager.cs
- SinglePageViewer.cs
- HttpValueCollection.cs
- SchemaImporterExtension.cs
- PriorityChain.cs
- UnsafeNativeMethods.cs
- ServiceContractListItemList.cs
- XmlRawWriter.cs
- MLangCodePageEncoding.cs
- Triangle.cs
- WindowsPen.cs
- HandledMouseEvent.cs
- AssemblyInfo.cs
- Overlapped.cs
- XamlPathDataSerializer.cs
- DBConcurrencyException.cs
- XmlSerializerSection.cs
- SQLSingleStorage.cs
- ResolveDuplex11AsyncResult.cs
- DataServiceProcessingPipeline.cs
- ProfileParameter.cs
- WebPartActionVerb.cs
- NameValueCollection.cs
- ComboBoxAutomationPeer.cs
- ReferenceTypeElement.cs
- LongValidator.cs