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
- EndpointDiscoveryBehavior.cs
- BatchParser.cs
- ListCollectionView.cs
- RequestStatusBarUpdateEventArgs.cs
- DispatcherExceptionFilterEventArgs.cs
- FragmentNavigationEventArgs.cs
- ActivityDesignerAccessibleObject.cs
- Native.cs
- QueryOpeningEnumerator.cs
- RetrieveVirtualItemEventArgs.cs
- ObjectDataSourceDisposingEventArgs.cs
- BasicHttpBindingElement.cs
- XmlDigitalSignatureProcessor.cs
- ClonableStack.cs
- ToolZone.cs
- BuildManager.cs
- Win32SafeHandles.cs
- EmptyStringExpandableObjectConverter.cs
- CodeThrowExceptionStatement.cs
- NotifyCollectionChangedEventArgs.cs
- RegexCaptureCollection.cs
- CachedTypeface.cs
- SvcMapFileSerializer.cs
- EntitySqlQueryBuilder.cs
- CertificateElement.cs
- DrawingBrush.cs
- TreePrinter.cs
- StringConcat.cs
- PropertyPanel.cs
- VarRefManager.cs
- CompressionTransform.cs
- FormsAuthenticationUserCollection.cs
- ToolboxItemAttribute.cs
- TemplateBindingExpression.cs
- SQLDoubleStorage.cs
- SoapElementAttribute.cs
- SQLInt32Storage.cs
- PathSegment.cs
- filewebrequest.cs
- Font.cs
- UnsafeNativeMethods.cs
- Label.cs
- InternalDispatchObject.cs
- StatusBar.cs
- LongPath.cs
- Comparer.cs
- AttachInfo.cs
- DrawingContextDrawingContextWalker.cs
- MultiView.cs
- DataSysAttribute.cs
- Buffer.cs
- DispatchWrapper.cs
- EdmEntityTypeAttribute.cs
- RectKeyFrameCollection.cs
- NativeCppClassAttribute.cs
- followingsibling.cs
- MarkupExtensionSerializer.cs
- XmlSchemaExporter.cs
- MatrixValueSerializer.cs
- TextServicesContext.cs
- HtmlImageAdapter.cs
- Models.cs
- XPathParser.cs
- XPathPatternBuilder.cs
- SynchronousChannel.cs
- TextWriter.cs
- RijndaelManaged.cs
- BuilderPropertyEntry.cs
- EnumValidator.cs
- TransportManager.cs
- FormViewRow.cs
- RegionInfo.cs
- QilInvokeLateBound.cs
- MenuAutomationPeer.cs
- RemotingAttributes.cs
- WebPartTransformer.cs
- DirectoryLocalQuery.cs
- EmbeddedMailObjectCollectionEditor.cs
- LinkButton.cs
- CookieProtection.cs
- StylusCollection.cs
- ISessionStateStore.cs
- FixedPageProcessor.cs
- XmlSecureResolver.cs
- ConfigurationManagerInternalFactory.cs
- BasicExpandProvider.cs
- LingerOption.cs
- AesManaged.cs
- Mapping.cs
- AndCondition.cs
- WebPartAuthorizationEventArgs.cs
- RenamedEventArgs.cs
- thaishape.cs
- ContainerSelectorBehavior.cs
- PolyBezierSegment.cs
- MappedMetaModel.cs
- MinimizableAttributeTypeConverter.cs
- SafeFileHandle.cs
- DependencyObjectProvider.cs
- OletxVolatileEnlistment.cs