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
- BoundingRectTracker.cs
- DataSourceCache.cs
- HttpContext.cs
- SrgsElementFactoryCompiler.cs
- SpecularMaterial.cs
- Win32.cs
- NominalTypeEliminator.cs
- WebContentFormatHelper.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- TerminateSequence.cs
- XomlCompilerParameters.cs
- ObservableDictionary.cs
- Animatable.cs
- SrgsToken.cs
- SchemaElementDecl.cs
- WebConfigurationHost.cs
- GridViewCommandEventArgs.cs
- ToolStripRenderer.cs
- ImportContext.cs
- TabControlAutomationPeer.cs
- Substitution.cs
- ItemList.cs
- SafePEFileHandle.cs
- ObjectListFieldCollection.cs
- SchemaCollectionPreprocessor.cs
- DelimitedListTraceListener.cs
- AuthenticationException.cs
- DateTimeFormatInfoScanner.cs
- AnimationTimeline.cs
- contentDescriptor.cs
- PublisherIdentityPermission.cs
- ReferentialConstraintRoleElement.cs
- DataGridViewSortCompareEventArgs.cs
- ColorKeyFrameCollection.cs
- DataGridColumnFloatingHeader.cs
- TableDesigner.cs
- MethodToken.cs
- ColorConverter.cs
- TriggerCollection.cs
- ChangeInterceptorAttribute.cs
- mactripleDES.cs
- ExtenderControl.cs
- TabControl.cs
- ReferentialConstraintRoleElement.cs
- SizeConverter.cs
- ColorContextHelper.cs
- ValidatingCollection.cs
- OSFeature.cs
- SqlClientWrapperSmiStream.cs
- FileDataSourceCache.cs
- HttpApplicationFactory.cs
- ActiveXContainer.cs
- ActiveDocumentEvent.cs
- OdbcDataAdapter.cs
- ZipIOExtraFieldPaddingElement.cs
- FrameDimension.cs
- connectionpool.cs
- HashStream.cs
- ContentFileHelper.cs
- ChtmlTextBoxAdapter.cs
- Path.cs
- ComponentConverter.cs
- TransformerInfo.cs
- PaperSource.cs
- Int64Converter.cs
- OleDbError.cs
- DataGridPagingPage.cs
- HttpPostServerProtocol.cs
- AuthenticationServiceManager.cs
- CanExecuteRoutedEventArgs.cs
- ConnectionInterfaceCollection.cs
- AddInController.cs
- EntityUtil.cs
- InlineUIContainer.cs
- TimeZone.cs
- ProgressChangedEventArgs.cs
- EventManager.cs
- CqlWriter.cs
- DataGridItem.cs
- InvalidEnumArgumentException.cs
- Selection.cs
- TextSelectionProcessor.cs
- MinMaxParagraphWidth.cs
- Rotation3DAnimationUsingKeyFrames.cs
- SqlStream.cs
- PasswordPropertyTextAttribute.cs
- Pkcs7Signer.cs
- XmlResolver.cs
- FontDifferentiator.cs
- Border.cs
- ColumnResizeAdorner.cs
- KnownIds.cs
- BindingExpression.cs
- CommonObjectSecurity.cs
- OutputCacheSection.cs
- HtmlHead.cs
- PenLineJoinValidation.cs
- UniqueEventHelper.cs
- DeviceContext2.cs
- CatalogZoneBase.cs