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
- ProtocolException.cs
- NoneExcludedImageIndexConverter.cs
- TranslateTransform3D.cs
- NgenServicingAttributes.cs
- SrgsNameValueTag.cs
- PathFigure.cs
- CustomServiceCredentials.cs
- Schema.cs
- AssociationSet.cs
- Region.cs
- ColumnHeader.cs
- TypeSystem.cs
- SafeCryptHandles.cs
- WebBodyFormatMessageProperty.cs
- FileSecurity.cs
- Window.cs
- WeakReference.cs
- DataTableMapping.cs
- SplitterPanelDesigner.cs
- DateTimeUtil.cs
- DispatcherOperation.cs
- WorkflowRuntimeServiceElementCollection.cs
- AddInToken.cs
- RequestResizeEvent.cs
- DBCommandBuilder.cs
- TextBox.cs
- TransformedBitmap.cs
- SqlDataSourceCustomCommandEditor.cs
- DataGridViewDataErrorEventArgs.cs
- EventHandlers.cs
- PersonalizationState.cs
- BitmapEffectInputConnector.cs
- ThreadInterruptedException.cs
- DesignerRegion.cs
- ObjectStateFormatter.cs
- BorderGapMaskConverter.cs
- XmlSchemaComplexContentRestriction.cs
- SourceItem.cs
- UnsafeNativeMethods.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- COM2ExtendedUITypeEditor.cs
- SoapAttributeOverrides.cs
- RowToParametersTransformer.cs
- ComponentConverter.cs
- ViewStateModeByIdAttribute.cs
- DataAdapter.cs
- HttpPostedFileWrapper.cs
- DataView.cs
- SafeFileMappingHandle.cs
- DataBoundLiteralControl.cs
- TdsParserSessionPool.cs
- SqlDataSourceAdvancedOptionsForm.cs
- JumpItem.cs
- MenuItemStyleCollection.cs
- URL.cs
- ToolStripArrowRenderEventArgs.cs
- DefaultTextStore.cs
- ChildChangedEventArgs.cs
- CompositeControl.cs
- UpdateProgress.cs
- KnownColorTable.cs
- sqlstateclientmanager.cs
- AttributeUsageAttribute.cs
- CharStorage.cs
- VoiceSynthesis.cs
- XsltOutput.cs
- RowToParametersTransformer.cs
- NamespaceList.cs
- AccessorTable.cs
- CriticalFinalizerObject.cs
- TraceLog.cs
- ProgressChangedEventArgs.cs
- FormViewUpdateEventArgs.cs
- ObjectIDGenerator.cs
- IdentityNotMappedException.cs
- SqlRowUpdatedEvent.cs
- CorrelationValidator.cs
- SoapHeaders.cs
- PaginationProgressEventArgs.cs
- RewritingSimplifier.cs
- ObjectDataSourceChooseTypePanel.cs
- BindableAttribute.cs
- Bezier.cs
- KeyEvent.cs
- ClientRolePrincipal.cs
- New.cs
- DeflateEmulationStream.cs
- SoundPlayer.cs
- ObsoleteAttribute.cs
- RenderContext.cs
- FrameworkElementFactoryMarkupObject.cs
- VoiceChangeEventArgs.cs
- TextProperties.cs
- Axis.cs
- UidManager.cs
- ProcessHostServerConfig.cs
- DataReceivedEventArgs.cs
- CommandSet.cs
- DataSvcMapFile.cs
- BamlLocalizableResource.cs