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
- SerialReceived.cs
- FilterQuery.cs
- ExpressionBinding.cs
- BinaryWriter.cs
- UpdateManifestForBrowserApplication.cs
- BitConverter.cs
- _Semaphore.cs
- GenericAuthenticationEventArgs.cs
- ProgressBar.cs
- ComboBoxRenderer.cs
- RewritingPass.cs
- TemplateControl.cs
- RankException.cs
- ThrowOnMultipleAssignment.cs
- NullableConverter.cs
- DataSourceControl.cs
- HttpHandlerActionCollection.cs
- SafeWaitHandle.cs
- TextSimpleMarkerProperties.cs
- ObjectQuery.cs
- X509Utils.cs
- VirtualPathUtility.cs
- PackagePart.cs
- GeometryCollection.cs
- XmlWriterSettings.cs
- PerformanceCounterManager.cs
- SecondaryViewProvider.cs
- FileLevelControlBuilderAttribute.cs
- PermissionSetEnumerator.cs
- Hyperlink.cs
- HtmlInputReset.cs
- DefaultExpression.cs
- XmlQueryType.cs
- Literal.cs
- HttpSocketManager.cs
- SHA512.cs
- SerialErrors.cs
- BinaryFormatterSinks.cs
- FormViewCommandEventArgs.cs
- DataContractSerializerServiceBehavior.cs
- WaitHandle.cs
- itemelement.cs
- ActiveDocumentEvent.cs
- HtmlControl.cs
- ScrollData.cs
- ResourceType.cs
- PublishLicense.cs
- DesignerExtenders.cs
- ContextDataSource.cs
- RichTextBoxConstants.cs
- KeyValuePairs.cs
- TreeNodeBindingCollection.cs
- EmptyEnumerable.cs
- DeferredElementTreeState.cs
- PrivilegedConfigurationManager.cs
- TypeSystem.cs
- PriorityItem.cs
- ImagingCache.cs
- ReadOnlyDictionary.cs
- CatalogPart.cs
- ExpressionEditorAttribute.cs
- CroppedBitmap.cs
- SafePEFileHandle.cs
- Message.cs
- AQNBuilder.cs
- SecurityChannelFactory.cs
- QilName.cs
- SHA384Managed.cs
- TreeNodeConverter.cs
- MouseGestureConverter.cs
- PipelineModuleStepContainer.cs
- Label.cs
- ManagedFilter.cs
- RTLAwareMessageBox.cs
- _NTAuthentication.cs
- RequiredFieldValidator.cs
- List.cs
- MessageQueueInstaller.cs
- ResolvedKeyFrameEntry.cs
- PseudoWebRequest.cs
- DataGridColumnCollection.cs
- COAUTHIDENTITY.cs
- GradientBrush.cs
- ProcessThread.cs
- MenuItemCollection.cs
- DurationConverter.cs
- RegexWriter.cs
- CheckBox.cs
- UpdatePanelControlTrigger.cs
- ScrollChrome.cs
- DateTimePicker.cs
- Soap12ProtocolImporter.cs
- SecurityPolicyVersion.cs
- CatalogZoneBase.cs
- NativeMethods.cs
- nulltextcontainer.cs
- RootBuilder.cs
- BindingList.cs
- TransactionTraceIdentifier.cs
- AngleUtil.cs