Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / StylusButtonEventArgs.cs / 1 / StylusButtonEventArgs.cs
using System; using System.Collections; using System.ComponentModel; using System.Windows.Media; namespace System.Windows.Input { ///////////////////////////////////////////////////////////////////////// //////Event argument used to subscribe to StylusButtonDown/Up events. ///The only information required to be passed by this argument is which button had the state change. /// public class StylusButtonEventArgs : StylusEventArgs { ///////////////////////////////////////////////////////////////////// ////// Initializes a new instance of the StylusButtonEventArgs class. /// /// /// The logical Stylus device associated with this event. /// /// /// The time when the input occured. /// /// /// The button. /// public StylusButtonEventArgs( StylusDevice stylusDevice, int timestamp, StylusButton button) : base(stylusDevice, timestamp) { // _button = button; } ////// Get the StylusButton /// public StylusButton StylusButton { get { return _button; } } ///////////////////////////////////////////////////////////////////// ////// The mechanism used to call the type-specific handler on the /// target. /// /// /// The generic handler to call in a type-specific way. /// /// /// The target to call the handler on. /// protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget) { StylusButtonEventHandler handler = (StylusButtonEventHandler)genericHandler; handler(genericTarget, this); } ///////////////////////////////////////////////////////////////////// /// StylusButton _button; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IIS7ConfigurationLoader.cs
- DictionaryChange.cs
- X509ChainElement.cs
- FileDialog.cs
- ComponentSerializationService.cs
- X509ChainElement.cs
- SaveFileDialog.cs
- ChannelTraceRecord.cs
- ColorIndependentAnimationStorage.cs
- MenuCommands.cs
- ProtocolsConfigurationEntry.cs
- ProtocolsConfigurationHandler.cs
- ImageCodecInfo.cs
- ArcSegment.cs
- Int16Animation.cs
- ClosureBinding.cs
- DrawTreeNodeEventArgs.cs
- securitycriticaldata.cs
- SerializationException.cs
- RadialGradientBrush.cs
- isolationinterop.cs
- HttpWebResponse.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- CapiSymmetricAlgorithm.cs
- Debug.cs
- XslTransformFileEditor.cs
- CompoundFileStreamReference.cs
- HttpCapabilitiesSectionHandler.cs
- ExecutionScope.cs
- WebServiceTypeData.cs
- HttpApplication.cs
- WeakEventManager.cs
- DataServiceException.cs
- Queue.cs
- StylusTip.cs
- StorageTypeMapping.cs
- CodeSubDirectoriesCollection.cs
- HyperLinkDesigner.cs
- DataGridViewSelectedColumnCollection.cs
- GridPattern.cs
- NamedServiceModelExtensionCollectionElement.cs
- FormViewPagerRow.cs
- TagPrefixAttribute.cs
- ReflectPropertyDescriptor.cs
- PhonemeConverter.cs
- ResourceManager.cs
- LexicalChunk.cs
- TextFormatterContext.cs
- ExpressionEditorAttribute.cs
- MessageOperationFormatter.cs
- Activity.cs
- FactoryGenerator.cs
- Utility.cs
- DataServiceQueryOfT.cs
- UniqueIdentifierService.cs
- TagMapCollection.cs
- CompiledQuery.cs
- WebHostScriptMappingsInstallComponent.cs
- SafeRightsManagementHandle.cs
- DependencyProperty.cs
- SmiMetaDataProperty.cs
- PassportAuthenticationModule.cs
- SecurityDescriptor.cs
- WsatTransactionInfo.cs
- Expressions.cs
- TypeConverterHelper.cs
- FormsIdentity.cs
- ExpressionLexer.cs
- TemplateAction.cs
- NestedContainer.cs
- SQLMoneyStorage.cs
- WebPartMenuStyle.cs
- UnsafeNativeMethods.cs
- BroadcastEventHelper.cs
- WebServiceMethodData.cs
- X500Name.cs
- ScrollBar.cs
- PropertyChangedEventManager.cs
- ISAPIRuntime.cs
- Rotation3DAnimationBase.cs
- CheckBox.cs
- XmlRawWriterWrapper.cs
- SoapRpcMethodAttribute.cs
- RuntimeWrappedException.cs
- BoolExpressionVisitors.cs
- CharStorage.cs
- Mappings.cs
- UpdateProgress.cs
- ContextStaticAttribute.cs
- SystemSounds.cs
- DoubleIndependentAnimationStorage.cs
- ClientRuntimeConfig.cs
- CancellationState.cs
- DbConnectionPoolGroupProviderInfo.cs
- HtmlUtf8RawTextWriter.cs
- DataKeyArray.cs
- BaseCodePageEncoding.cs
- HttpListenerException.cs
- ColorAnimationBase.cs
- HttpListenerPrefixCollection.cs