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
- DispatcherOperation.cs
- ValidatingCollection.cs
- OrderPreservingPipeliningSpoolingTask.cs
- BamlBinaryReader.cs
- Typography.cs
- OrthographicCamera.cs
- SqlClientPermission.cs
- SmiSettersStream.cs
- FreezableDefaultValueFactory.cs
- MenuCommand.cs
- SHA1CryptoServiceProvider.cs
- Stack.cs
- ProcessHostMapPath.cs
- Wildcard.cs
- TdsParserStaticMethods.cs
- ExpressionNormalizer.cs
- KnownTypeAttribute.cs
- ReadOnlyCollection.cs
- ItemCollection.cs
- SwitchExpression.cs
- RectAnimationClockResource.cs
- WinFormsComponentEditor.cs
- ResourceExpressionBuilder.cs
- _SslSessionsCache.cs
- _SslState.cs
- DefaultBindingPropertyAttribute.cs
- WFItemsToSpacerVisibility.cs
- MergeLocalizationDirectives.cs
- HiddenField.cs
- ImportFileRequest.cs
- PeerContact.cs
- TraceSection.cs
- TreeView.cs
- TextServicesCompartmentEventSink.cs
- Exceptions.cs
- Config.cs
- MetadataFile.cs
- LogRestartAreaEnumerator.cs
- NativeActivityMetadata.cs
- XomlDesignerLoader.cs
- SettingsContext.cs
- TerminateSequence.cs
- SingleTagSectionHandler.cs
- ThreadInterruptedException.cs
- FileDialog_Vista_Interop.cs
- WindowsFormsHostAutomationPeer.cs
- FrameworkElementFactory.cs
- XmlMapping.cs
- InfoCardSymmetricCrypto.cs
- CalendarDay.cs
- WebPartDisplayModeCollection.cs
- XamlDesignerSerializationManager.cs
- TextServicesDisplayAttribute.cs
- SqlBuilder.cs
- DeviceContext2.cs
- WebPart.cs
- ContractInferenceHelper.cs
- ViewManager.cs
- ManifestSignedXml.cs
- TrustManagerPromptUI.cs
- FormsAuthenticationUser.cs
- TableLayoutStyleCollection.cs
- TdsParserHelperClasses.cs
- JsonWriter.cs
- NamespaceEmitter.cs
- PropertyInformationCollection.cs
- ProcessManager.cs
- NeedSkipTokenVisitor.cs
- TcpHostedTransportConfiguration.cs
- Timer.cs
- TabControl.cs
- SerialPinChanges.cs
- GeneralTransform3D.cs
- RepeaterItem.cs
- MailMessage.cs
- SqlSupersetValidator.cs
- GenericWebPart.cs
- CryptoConfig.cs
- DataListCommandEventArgs.cs
- XamlWriter.cs
- ActivityInfo.cs
- EncryptedPackageFilter.cs
- XmlAggregates.cs
- Profiler.cs
- Int32Converter.cs
- TextTreeUndo.cs
- _ListenerResponseStream.cs
- TagMapCollection.cs
- SiteMapProvider.cs
- OwnerDrawPropertyBag.cs
- PngBitmapEncoder.cs
- DbConnectionPoolCounters.cs
- SQLInt32.cs
- ActivitySurrogate.cs
- MatrixAnimationUsingPath.cs
- TreeView.cs
- DataGridCommandEventArgs.cs
- Glyph.cs
- Rect3DConverter.cs
- ClaimTypeElementCollection.cs