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
- TypeSystem.cs
- InternalBase.cs
- SystemSounds.cs
- SmiXetterAccessMap.cs
- _ContextAwareResult.cs
- ExpressionBinding.cs
- GenericWebPart.cs
- DataGridComboBoxColumn.cs
- AuthorizationRuleCollection.cs
- LabelAutomationPeer.cs
- SafeThemeHandle.cs
- WindowsFormsHost.cs
- RestHandler.cs
- DESCryptoServiceProvider.cs
- Asn1Utilities.cs
- SynchronizedInputPattern.cs
- URIFormatException.cs
- AutomationProperty.cs
- AgileSafeNativeMemoryHandle.cs
- ChannelFactoryBase.cs
- SqlParameter.cs
- Window.cs
- BlurEffect.cs
- ImmComposition.cs
- TraversalRequest.cs
- ProcessInputEventArgs.cs
- DataGridItemEventArgs.cs
- Point.cs
- Decorator.cs
- HttpWebRequestElement.cs
- LocalFileSettingsProvider.cs
- ToolStripSeparator.cs
- EmptyEnumerable.cs
- _NtlmClient.cs
- URLIdentityPermission.cs
- FileDialog.cs
- Models.cs
- MergeLocalizationDirectives.cs
- SizeKeyFrameCollection.cs
- DiscreteKeyFrames.cs
- StickyNoteHelper.cs
- TrackingLocationCollection.cs
- ScrollViewer.cs
- WebPartEditVerb.cs
- storagemappingitemcollection.viewdictionary.cs
- OleDbCommandBuilder.cs
- SemaphoreFullException.cs
- ParameterCollectionEditorForm.cs
- MsmqAuthenticationMode.cs
- SupportsEventValidationAttribute.cs
- OracleParameterCollection.cs
- XmlResolver.cs
- ClientTargetCollection.cs
- XPathScanner.cs
- RulePatternOps.cs
- BrowserCapabilitiesFactory35.cs
- DrawToolTipEventArgs.cs
- PreparingEnlistment.cs
- indexingfiltermarshaler.cs
- ComponentConverter.cs
- XmlToDatasetMap.cs
- OutputBuffer.cs
- WizardStepBase.cs
- FileStream.cs
- TraceFilter.cs
- TableAdapterManagerHelper.cs
- CodeDOMUtility.cs
- XmlSchemaValidationException.cs
- DataSourceCache.cs
- OdbcHandle.cs
- RemotingAttributes.cs
- AttributeCollection.cs
- CommandManager.cs
- DataBindingList.cs
- HwndKeyboardInputProvider.cs
- LineProperties.cs
- TcpClientChannel.cs
- PropertyConverter.cs
- DBSchemaRow.cs
- DetailsViewDeleteEventArgs.cs
- FormatterServices.cs
- IriParsingElement.cs
- ReachFixedDocumentSerializerAsync.cs
- ObjectItemNoOpAssemblyLoader.cs
- Odbc32.cs
- LineUtil.cs
- PersonalizableTypeEntry.cs
- XmlSchemaInclude.cs
- FunctionNode.cs
- FlowDocumentPageViewerAutomationPeer.cs
- FontSource.cs
- FormatException.cs
- ZipIOExtraFieldPaddingElement.cs
- EntityDataSourceEntityTypeFilterItem.cs
- NamespaceEmitter.cs
- DiscardableAttribute.cs
- DataPointer.cs
- PropertyEmitterBase.cs
- TransactionsSectionGroup.cs
- XmlAttribute.cs