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
- X509RecipientCertificateServiceElement.cs
- TextPointer.cs
- FormatSettings.cs
- ReferenceEqualityComparer.cs
- DynamicScriptObject.cs
- TemplateBindingExtension.cs
- CLSCompliantAttribute.cs
- FunctionUpdateCommand.cs
- MsmqChannelFactoryBase.cs
- GC.cs
- InkCollectionBehavior.cs
- CategoryAttribute.cs
- DesigntimeLicenseContext.cs
- RoutingExtensionElement.cs
- DBNull.cs
- RuntimeIdentifierPropertyAttribute.cs
- CustomGrammar.cs
- GiveFeedbackEvent.cs
- DelegatingStream.cs
- LineServicesRun.cs
- DataGridViewAdvancedBorderStyle.cs
- SqlVersion.cs
- XmlSerializerAssemblyAttribute.cs
- ClientTargetSection.cs
- DisplayToken.cs
- ExtensionWindowHeader.cs
- ByteStorage.cs
- BuildResultCache.cs
- FontUnit.cs
- XmlTextReader.cs
- ToolStripAdornerWindowService.cs
- BigInt.cs
- RbTree.cs
- XmlILIndex.cs
- InkPresenterAutomationPeer.cs
- DefaultConfirmation.cs
- DataSourceCacheDurationConverter.cs
- Funcletizer.cs
- DataRecordInfo.cs
- WebPartConnectionsCancelEventArgs.cs
- DataGridViewLinkCell.cs
- OdbcInfoMessageEvent.cs
- PrintDocument.cs
- ReferentialConstraint.cs
- UserNameSecurityTokenAuthenticator.cs
- UnaryNode.cs
- LockCookie.cs
- Mappings.cs
- ContextQuery.cs
- RelationshipFixer.cs
- DbProviderFactories.cs
- DBSqlParserTableCollection.cs
- MenuItemStyleCollection.cs
- WMIGenerator.cs
- ConnectionManagementSection.cs
- ClientSettingsProvider.cs
- ImageDrawing.cs
- SamlDoNotCacheCondition.cs
- UIHelper.cs
- TitleStyle.cs
- SystemMulticastIPAddressInformation.cs
- ComponentSerializationService.cs
- ReadContentAsBinaryHelper.cs
- BookmarkCallbackWrapper.cs
- SemaphoreSecurity.cs
- PointValueSerializer.cs
- XmlAttributes.cs
- MetadataPropertyCollection.cs
- ByteStack.cs
- ProgressBar.cs
- MethodImplAttribute.cs
- TextFormatterImp.cs
- AutomationElement.cs
- PerfService.cs
- MenuTracker.cs
- ConnectionPool.cs
- MD5CryptoServiceProvider.cs
- Parameter.cs
- XslException.cs
- MethodInfo.cs
- CqlParser.cs
- Form.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- WebContext.cs
- DataMemberAttribute.cs
- SimpleHandlerFactory.cs
- VariableQuery.cs
- OdbcEnvironment.cs
- CredentialCache.cs
- ProjectionNode.cs
- FileCodeGroup.cs
- InstanceDescriptor.cs
- DesigntimeLicenseContext.cs
- SocketPermission.cs
- GeneralTransform2DTo3D.cs
- MetadataUtilsSmi.cs
- IgnoreDeviceFilterElementCollection.cs
- RegexWorker.cs
- AmbientLight.cs
- BevelBitmapEffect.cs