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
- ReservationCollection.cs
- AnyAllSearchOperator.cs
- MergablePropertyAttribute.cs
- PersonalizationProviderCollection.cs
- DebugInfoGenerator.cs
- DivideByZeroException.cs
- FatalException.cs
- DataGridItemCollection.cs
- InkCanvasInnerCanvas.cs
- TableAutomationPeer.cs
- FieldNameLookup.cs
- OptimalBreakSession.cs
- SamlDoNotCacheCondition.cs
- AggregationMinMaxHelpers.cs
- SqlAliasesReferenced.cs
- ResumeStoryboard.cs
- DataGridRowHeaderAutomationPeer.cs
- ContainerFilterService.cs
- QilBinary.cs
- AudioFormatConverter.cs
- LogicalTreeHelper.cs
- SeekableMessageNavigator.cs
- WizardPanelChangingEventArgs.cs
- TemplateApplicationHelper.cs
- SmiEventSink.cs
- TextBoxRenderer.cs
- ProtocolsConfiguration.cs
- DesignerValidatorAdapter.cs
- ApplicationHost.cs
- RefreshPropertiesAttribute.cs
- SQLByteStorage.cs
- Pen.cs
- Operator.cs
- SerializationIncompleteException.cs
- ClientUriBehavior.cs
- parserscommon.cs
- Span.cs
- NativeMethods.cs
- ExponentialEase.cs
- JsonStringDataContract.cs
- SiteOfOriginPart.cs
- LinearGradientBrush.cs
- __ConsoleStream.cs
- RuleProcessor.cs
- ContextBase.cs
- PageClientProxyGenerator.cs
- DBDataPermission.cs
- TextBox.cs
- AliasedSlot.cs
- DrawListViewColumnHeaderEventArgs.cs
- FactoryId.cs
- TextRangeEditTables.cs
- ExpressionLexer.cs
- Block.cs
- PropertyChangeTracker.cs
- HwndSubclass.cs
- StoreAnnotationsMap.cs
- PermissionSetEnumerator.cs
- MonthChangedEventArgs.cs
- Effect.cs
- DbProviderManifest.cs
- EditorZoneBase.cs
- ServiceProviders.cs
- DbReferenceCollection.cs
- DataSourceComponent.cs
- AppDomainProtocolHandler.cs
- FunctionDescription.cs
- TransactionManagerProxy.cs
- HandleRef.cs
- StylusPlugin.cs
- DetailsViewModeEventArgs.cs
- SourceFileBuildProvider.cs
- FastEncoder.cs
- WindowsListViewSubItem.cs
- ServiceOperationWrapper.cs
- FilteredAttributeCollection.cs
- EdmSchemaError.cs
- TimeIntervalCollection.cs
- RealProxy.cs
- HttpModuleAction.cs
- InternalConfigSettingsFactory.cs
- documentation.cs
- HierarchicalDataSourceConverter.cs
- PointF.cs
- FixedPageAutomationPeer.cs
- PrintingPermissionAttribute.cs
- ObjectParameterCollection.cs
- AttachedPropertyMethodSelector.cs
- InternalBufferOverflowException.cs
- HyperLinkStyle.cs
- ObjectDataSourceFilteringEventArgs.cs
- DataTransferEventArgs.cs
- FillBehavior.cs
- BaseValidator.cs
- NodeFunctions.cs
- FocusWithinProperty.cs
- WindowsFormsHost.cs
- ReversePositionQuery.cs
- NominalTypeEliminator.cs
- ToolStripDesignerAvailabilityAttribute.cs