Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / HandledEventArgs.cs / 1 / 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; } } } }/// 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
- Int64Storage.cs
- TrackBar.cs
- GraphicsContext.cs
- TabRenderer.cs
- XmlAttributeOverrides.cs
- OracleException.cs
- ConfigurationCollectionAttribute.cs
- XmlAutoDetectWriter.cs
- ContentElement.cs
- AdapterDictionary.cs
- Delegate.cs
- AnimationClock.cs
- MdiWindowListStrip.cs
- CollectionViewGroup.cs
- ValidateNames.cs
- ReplyChannelAcceptor.cs
- Button.cs
- ImageUrlEditor.cs
- ClientBuildManager.cs
- ElementNotEnabledException.cs
- BufferedStream.cs
- ParseHttpDate.cs
- UnsafeNativeMethods.cs
- DbgCompiler.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SymbolEqualComparer.cs
- ContractUtils.cs
- WizardStepBase.cs
- EventPropertyMap.cs
- SHA256.cs
- ZipIORawDataFileBlock.cs
- Misc.cs
- EditorPartCollection.cs
- _LoggingObject.cs
- _Win32.cs
- XmlIncludeAttribute.cs
- XmlSchema.cs
- LowerCaseStringConverter.cs
- RegisteredHiddenField.cs
- CodeGotoStatement.cs
- MenuAdapter.cs
- Schema.cs
- BamlRecordReader.cs
- DateTimeConverter.cs
- TextSpanModifier.cs
- StateDesignerConnector.cs
- sitestring.cs
- NavigateEvent.cs
- Privilege.cs
- ServiceHostingEnvironment.cs
- GridViewColumnHeader.cs
- Internal.cs
- VisualStates.cs
- ControlPaint.cs
- Mutex.cs
- ExtensibleClassFactory.cs
- DbMetaDataFactory.cs
- pingexception.cs
- HttpCookie.cs
- DropShadowEffect.cs
- GridViewCommandEventArgs.cs
- FigureHelper.cs
- EntityConnectionStringBuilder.cs
- ParsedAttributeCollection.cs
- FontCollection.cs
- ComboBoxRenderer.cs
- CapacityStreamGeometryContext.cs
- VisualTarget.cs
- SafeUserTokenHandle.cs
- XmlJsonReader.cs
- DesignerDataColumn.cs
- DataServiceRequest.cs
- Metafile.cs
- PolicyUnit.cs
- DiscardableAttribute.cs
- Grant.cs
- HyperLinkDataBindingHandler.cs
- HyperLinkStyle.cs
- AsymmetricKeyExchangeFormatter.cs
- HttpConfigurationContext.cs
- ContainerControl.cs
- FormatConvertedBitmap.cs
- LinearGradientBrush.cs
- Operand.cs
- ContextDataSource.cs
- HtmlInputButton.cs
- NameObjectCollectionBase.cs
- ContainerFilterService.cs
- OpCopier.cs
- TextParaClient.cs
- ArithmeticLiteral.cs
- SortableBindingList.cs
- IPEndPointCollection.cs
- DataBindingExpressionBuilder.cs
- CodeTypeMemberCollection.cs
- PromptStyle.cs
- ObjectListShowCommandsEventArgs.cs
- EntityCommandCompilationException.cs
- InfoCardRSACryptoProvider.cs
- FixedBufferAttribute.cs