C# Class Scroll.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
显示文件 Open project: EyeTribe/tet-csharp-samples

Private Properties

Property Type Description
CalcDpiScale double
ClampMouse void
CleanUp void
DoButtonCheck void
DoScroll void
DoTapDown void
DoTapUp void
ExecuteSelectedButton void
GetDC System.IntPtr
GetDeviceCaps int
HitTest bool
MainWindowStylusDown void
MainWindowStylusUp void
ReleaseDC int
ScrollTimerTick void
TapDown void
TapUp void
UpdateUI void
WindowKeyDown void
WindowKeyUp void

Public Methods

Method Description
GetSystemDpi ( ) : Point
MainWindow ( ) : System
OnGazeUpdate ( GazeData gazeData ) : void

Protected Methods

Method Description
OnClosing ( System e ) : void

Private Methods

Method Description
CalcDpiScale ( ) : double
ClampMouse ( int &x, int &y ) : void
CleanUp ( ) : void
DoButtonCheck ( int x, int y ) : void
DoScroll ( int x, int y ) : void
DoTapDown ( ) : void
DoTapUp ( ) : void
ExecuteSelectedButton ( string selectedButtonName ) : void
GetDC ( IntPtr hWnd ) : IntPtr
GetDeviceCaps ( IntPtr hdc, int nIndex ) : int
HitTest ( Scroll.ImageButton control, Point gazePt ) : bool
MainWindowStylusDown ( object sender, System.Windows.Input.StylusDownEventArgs e ) : void
MainWindowStylusUp ( object sender, System.Windows.Input.StylusEventArgs e ) : void
ReleaseDC ( IntPtr hWnd, IntPtr hDc ) : int
ScrollTimerTick ( object sender, EventArgs e ) : void
TapDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
TapUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
UpdateUI ( int x, int y ) : void
WindowKeyDown ( object sender, System e ) : void
WindowKeyUp ( object sender, System e ) : void

Method Details

GetSystemDpi() public static method

public static GetSystemDpi ( ) : Point
return Point

MainWindow() public method

public MainWindow ( ) : System
return System

OnClosing() protected method

protected OnClosing ( System e ) : void
e System
return void

OnGazeUpdate() public method

public OnGazeUpdate ( GazeData gazeData ) : void
gazeData GazeData
return void