Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClientSponsor.cs
- CustomErrorsSection.cs
- LinkLabelLinkClickedEvent.cs
- XmlMessageFormatter.cs
- EventLogPermissionAttribute.cs
- ComboBox.cs
- ActivityExecutorSurrogate.cs
- EncodingInfo.cs
- AcceleratedTokenProviderState.cs
- FindSimilarActivitiesVerb.cs
- WindowsAuthenticationEventArgs.cs
- InteropDesigner.xaml.cs
- StringValueSerializer.cs
- ScriptHandlerFactory.cs
- CommandLibraryHelper.cs
- EncoderFallback.cs
- ServiceMetadataContractBehavior.cs
- EntityAdapter.cs
- XmlAnyAttributeAttribute.cs
- LogicalMethodInfo.cs
- QueryOutputWriter.cs
- ClientBuildManager.cs
- Pool.cs
- ProcessHostServerConfig.cs
- DataGridViewRowStateChangedEventArgs.cs
- DeviceSpecificDesigner.cs
- NetWebProxyFinder.cs
- AnnotationHighlightLayer.cs
- TextSegment.cs
- Button.cs
- OleDbDataReader.cs
- SafeEventHandle.cs
- HelpInfo.cs
- Decimal.cs
- AssemblyInfo.cs
- DataGridAutoFormatDialog.cs
- HttpValueCollection.cs
- Accessible.cs
- RuntimeVariableList.cs
- PointAnimationClockResource.cs
- ObjectListCommand.cs
- AutomationEventArgs.cs
- DataSourceHelper.cs
- ElementHost.cs
- HttpModulesSection.cs
- CompilerTypeWithParams.cs
- SpeakInfo.cs
- IisTraceListener.cs
- CompoundFileIOPermission.cs
- MemberJoinTreeNode.cs
- MimeParameters.cs
- Base64Stream.cs
- ThreadStaticAttribute.cs
- RemoteWebConfigurationHostStream.cs
- BitmapFrameDecode.cs
- DuplicateWaitObjectException.cs
- DataMisalignedException.cs
- XmlElementList.cs
- XsltArgumentList.cs
- ComplexLine.cs
- CodeValidator.cs
- RemotingServices.cs
- FilterUserControlBase.cs
- DataGridViewToolTip.cs
- BindingNavigator.cs
- ObsoleteAttribute.cs
- GroupLabel.cs
- NameValueConfigurationCollection.cs
- ReflectionTypeLoadException.cs
- ScriptingAuthenticationServiceSection.cs
- EntityWrapper.cs
- EntityDataSourceWizardForm.cs
- TextTreeFixupNode.cs
- UriSection.cs
- ContractNamespaceAttribute.cs
- PageContentAsyncResult.cs
- DbModificationCommandTree.cs
- SQLInt64.cs
- InkCanvasFeedbackAdorner.cs
- XmlSerializer.cs
- RoutedEventHandlerInfo.cs
- ObfuscationAttribute.cs
- ServiceElementCollection.cs
- BaseTemplateParser.cs
- XmlSchemaInferenceException.cs
- Attributes.cs
- UserNameSecurityTokenProvider.cs
- RealProxy.cs
- ImageFormat.cs
- NameSpaceExtractor.cs
- TextTreeObjectNode.cs
- DetailsViewRowCollection.cs
- Pkcs7Recipient.cs
- GZipStream.cs
- OperationResponse.cs
- ListControlConvertEventArgs.cs
- TextOnlyOutput.cs
- ExtensionsSection.cs
- AddInAttribute.cs
- DllNotFoundException.cs