Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HtmlInputText.cs
- SourceChangedEventArgs.cs
- RoleGroupCollection.cs
- Attributes.cs
- WorkItem.cs
- ExpressionNormalizer.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- IsolatedStorageFileStream.cs
- ProfileModule.cs
- RawMouseInputReport.cs
- EntitySetDataBindingList.cs
- SQLChars.cs
- WhileDesigner.cs
- SiteMapNodeItem.cs
- NetworkStream.cs
- XmlPreloadedResolver.cs
- CreateUserWizardStep.cs
- ContactManager.cs
- XmlTypeMapping.cs
- ImmutablePropertyDescriptorGridEntry.cs
- OciEnlistContext.cs
- MethodRental.cs
- PageSettings.cs
- regiisutil.cs
- FileIOPermission.cs
- XmlAnyElementAttribute.cs
- BitmapEffectDrawingContent.cs
- CodeDomDesignerLoader.cs
- SQLInt16Storage.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- DbReferenceCollection.cs
- RequestTimeoutManager.cs
- figurelength.cs
- QilIterator.cs
- ColumnClickEvent.cs
- control.ime.cs
- WebRequestModuleElement.cs
- PathTooLongException.cs
- StringAnimationBase.cs
- SqlClientWrapperSmiStream.cs
- DbgUtil.cs
- ScriptingAuthenticationServiceSection.cs
- OleDbError.cs
- DynamicAttribute.cs
- Header.cs
- SizeAnimationClockResource.cs
- WebServiceData.cs
- SemanticResolver.cs
- StackSpiller.Temps.cs
- ITreeGenerator.cs
- ServiceElementCollection.cs
- Vector3DAnimation.cs
- ImageFormat.cs
- DisposableCollectionWrapper.cs
- RIPEMD160Managed.cs
- StorageMappingItemLoader.cs
- Delegate.cs
- GlobalProxySelection.cs
- LinqDataSourceEditData.cs
- RouteItem.cs
- TextTreeDeleteContentUndoUnit.cs
- ObjectStorage.cs
- CompilerHelpers.cs
- SourceFileBuildProvider.cs
- AssemblyBuilder.cs
- DoubleKeyFrameCollection.cs
- MILUtilities.cs
- ContainerUIElement3D.cs
- X509SecurityToken.cs
- GlyphRunDrawing.cs
- StylusPointProperties.cs
- SourceSwitch.cs
- CacheMemory.cs
- XmlSchemaSimpleType.cs
- ResourceDisplayNameAttribute.cs
- CipherData.cs
- BevelBitmapEffect.cs
- DomNameTable.cs
- SchemaTableColumn.cs
- CSharpCodeProvider.cs
- RadioButtonBaseAdapter.cs
- AddingNewEventArgs.cs
- HtmlTableRowCollection.cs
- JumpList.cs
- ExpressionPrefixAttribute.cs
- EmptyQuery.cs
- SystemThemeKey.cs
- UserUseLicenseDictionaryLoader.cs
- SqlTypeSystemProvider.cs
- PackUriHelper.cs
- DependencyPropertyAttribute.cs
- TouchesOverProperty.cs
- MediaElementAutomationPeer.cs
- DocumentViewerHelper.cs
- AbstractSvcMapFileLoader.cs
- StreamUpgradeProvider.cs
- PolyLineSegment.cs
- MdImport.cs
- GridViewRowCollection.cs
- PathStreamGeometryContext.cs