Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / HandledEventArgs.cs / 1305376 / 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
- Margins.cs
- ToolStripSeparatorRenderEventArgs.cs
- Point4D.cs
- PolicyChain.cs
- HttpDebugHandler.cs
- FormViewRow.cs
- IProducerConsumerCollection.cs
- GeometryModel3D.cs
- RoutingTable.cs
- BamlBinaryWriter.cs
- InputGestureCollection.cs
- NoResizeHandleGlyph.cs
- ApplicationBuildProvider.cs
- EncryptedReference.cs
- PageClientProxyGenerator.cs
- UnsafeNativeMethods.cs
- UnsafeNativeMethodsPenimc.cs
- OdbcUtils.cs
- BehaviorEditorPart.cs
- ClientSideProviderDescription.cs
- ClientReliableChannelBinder.cs
- CompareValidator.cs
- PolygonHotSpot.cs
- ProtocolsConfiguration.cs
- SecurityDescriptor.cs
- AttachedPropertyMethodSelector.cs
- SubqueryRules.cs
- ImageListUtils.cs
- WhiteSpaceTrimStringConverter.cs
- WebPartConnectionsConnectVerb.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- WmlLinkAdapter.cs
- CompressEmulationStream.cs
- RegistryKey.cs
- CapabilitiesAssignment.cs
- DataObject.cs
- ImageMapEventArgs.cs
- LinkLabel.cs
- ArrangedElementCollection.cs
- PathSegment.cs
- ConnectionPoint.cs
- SearchForVirtualItemEventArgs.cs
- SwitchElementsCollection.cs
- _emptywebproxy.cs
- ServiceOperationInfoTypeConverter.cs
- CodeGenerator.cs
- DataProviderNameConverter.cs
- DbProviderFactory.cs
- DataSourceHelper.cs
- DataGridBoolColumn.cs
- CodeEventReferenceExpression.cs
- AspNetPartialTrustHelpers.cs
- QuaternionIndependentAnimationStorage.cs
- OptimizedTemplateContent.cs
- VirtualizedItemProviderWrapper.cs
- XmlnsDictionary.cs
- TimeoutException.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- GenericRootAutomationPeer.cs
- ModelFunction.cs
- Constraint.cs
- ToolboxComponentsCreatingEventArgs.cs
- DictionaryContent.cs
- CodeValidator.cs
- ModelItemDictionary.cs
- HandleCollector.cs
- DataViewSettingCollection.cs
- XmlSchemaGroup.cs
- QueryOperator.cs
- DataFieldConverter.cs
- Point3DValueSerializer.cs
- PropertyGridCommands.cs
- PathSegment.cs
- RegexWorker.cs
- EqualityComparer.cs
- SqlBooleanizer.cs
- GridViewSelectEventArgs.cs
- ResourceDescriptionAttribute.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- HttpWebRequestElement.cs
- XamlPoint3DCollectionSerializer.cs
- MetadataSet.cs
- InputScopeConverter.cs
- TextViewDesigner.cs
- DataPagerFieldCommandEventArgs.cs
- CompositeActivityTypeDescriptor.cs
- EntryPointNotFoundException.cs
- IssuedTokensHeader.cs
- SmtpException.cs
- SelectionWordBreaker.cs
- DiscoveryReferences.cs
- KeyInfo.cs
- figurelengthconverter.cs
- SqlCacheDependency.cs
- CodeMethodInvokeExpression.cs
- XsltLibrary.cs
- GenericWebPart.cs
- TreeNodeCollection.cs
- InvokeMethod.cs
- UIServiceHelper.cs