Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ConfigurationStrings.cs
- TemplateKeyConverter.cs
- ToolStripItemRenderEventArgs.cs
- CharacterMetricsDictionary.cs
- ChildTable.cs
- DesignTimeParseData.cs
- Win32KeyboardDevice.cs
- PromptBuilder.cs
- GenerateTemporaryTargetAssembly.cs
- PngBitmapDecoder.cs
- DeploymentSection.cs
- RegexMatch.cs
- ObjectDataSourceDisposingEventArgs.cs
- columnmapkeybuilder.cs
- TypeReference.cs
- SmtpSection.cs
- StateMachineAction.cs
- HttpStreams.cs
- OperationCanceledException.cs
- PageRouteHandler.cs
- RuleValidation.cs
- XmlTextWriter.cs
- WebPartVerbCollection.cs
- CannotUnloadAppDomainException.cs
- PreparingEnlistment.cs
- StandardToolWindows.cs
- ZipFileInfoCollection.cs
- MultiByteCodec.cs
- MessageSecurityProtocol.cs
- AuthenticationServiceManager.cs
- AsymmetricSignatureDeformatter.cs
- Stopwatch.cs
- DataGridLinkButton.cs
- RichTextBox.cs
- MethodSet.cs
- ColumnResizeUndoUnit.cs
- StylusDownEventArgs.cs
- DesignerDataParameter.cs
- DataGridColumnHeaderCollection.cs
- ErrorReporting.cs
- SymbolEqualComparer.cs
- DefaultTextStore.cs
- DataSvcMapFile.cs
- TextMarkerSource.cs
- StartUpEventArgs.cs
- DoubleLink.cs
- ValidationPropertyAttribute.cs
- OdbcConnectionString.cs
- ProxyAttribute.cs
- VScrollProperties.cs
- RsaSecurityTokenParameters.cs
- QueueProcessor.cs
- Point4DConverter.cs
- CurrentChangingEventArgs.cs
- RemotingConfigParser.cs
- IdentitySection.cs
- DrawingGroupDrawingContext.cs
- Polygon.cs
- TrackingLocationCollection.cs
- PartitionedStream.cs
- PrintDialog.cs
- PreviewPageInfo.cs
- ToolStripTextBox.cs
- ToolboxBitmapAttribute.cs
- WebRequestModuleElementCollection.cs
- ListViewGroupConverter.cs
- relpropertyhelper.cs
- JoinCqlBlock.cs
- NativeBuffer.cs
- httpserverutility.cs
- WriteTimeStream.cs
- PostBackOptions.cs
- GCHandleCookieTable.cs
- FreezableCollection.cs
- ExceptionUtil.cs
- RemoteWebConfigurationHostServer.cs
- ListParaClient.cs
- ToolBar.cs
- ErrorRuntimeConfig.cs
- UriExt.cs
- SubMenuStyle.cs
- Parameter.cs
- TdsParserSafeHandles.cs
- NetworkStream.cs
- Adorner.cs
- HttpValueCollection.cs
- TiffBitmapDecoder.cs
- XmlSchemaSet.cs
- WebPartConnectionsDisconnectVerb.cs
- PropertyManager.cs
- AttributeQuery.cs
- AsymmetricAlgorithm.cs
- PngBitmapEncoder.cs
- LinearKeyFrames.cs
- GeneralTransform3DCollection.cs
- TrackingWorkflowEventArgs.cs
- WeakRefEnumerator.cs
- AbandonedMutexException.cs
- FormViewCommandEventArgs.cs
- WebScriptEnablingElement.cs