C# Класс Binarysharp.MemoryManagement.Windows.Mouse.BaseMouse

Abstract class defining a virtual mouse.
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
Window RemoteWindow

Открытые методы

Метод Описание
ClickLeft ( ) : void

Clicks the left button of the mouse at the current cursor position.

ClickMiddle ( ) : void

Clicks the middle button of the mouse at the current cursor position.

ClickRight ( ) : void

Clicks the right button of the mouse at the current cursor position.

DoubleClickLeft ( ) : void

Double clicks the left button of the mouse at the current cursor position.

MoveTo ( int x, int y ) : void

Moves the cursor at the specified coordinate from the position of the window.

PressLeft ( ) : void

Presses the left button of the mouse at the current cursor position.

PressMiddle ( ) : void

Presses the middle button of the mouse at the current cursor position.

PressRight ( ) : void

Presses the right button of the mouse at the current cursor position.

ReleaseLeft ( ) : void

Releases the left button of the mouse at the current cursor position.

ReleaseMiddle ( ) : void

Releases the middle button of the mouse at the current cursor position.

ReleaseRight ( ) : void

Releases the right button of the mouse at the current cursor position.

ScrollHorizontally ( int delta = 120 ) : void

Scrolls horizontally using the wheel of the mouse at the current cursor position.

ScrollVertically ( int delta = 120 ) : void

Scrolls vertically using the wheel of the mouse at the current cursor position.

Защищенные методы

Метод Описание
BaseMouse ( RemoteWindow window ) : System.Threading

Initializes a new instance of a child of the BaseMouse class.

MoveToAbsolute ( int x, int y ) : void

Moves the cursor at the specified coordinate.

Описание методов

BaseMouse() защищенный Метод

Initializes a new instance of a child of the BaseMouse class.
protected BaseMouse ( RemoteWindow window ) : System.Threading
window RemoteWindow The reference of the object.
Результат System.Threading

ClickLeft() публичный Метод

Clicks the left button of the mouse at the current cursor position.
public ClickLeft ( ) : void
Результат void

ClickMiddle() публичный Метод

Clicks the middle button of the mouse at the current cursor position.
public ClickMiddle ( ) : void
Результат void

ClickRight() публичный Метод

Clicks the right button of the mouse at the current cursor position.
public ClickRight ( ) : void
Результат void

DoubleClickLeft() публичный Метод

Double clicks the left button of the mouse at the current cursor position.
public DoubleClickLeft ( ) : void
Результат void

MoveTo() публичный Метод

Moves the cursor at the specified coordinate from the position of the window.
public MoveTo ( int x, int y ) : void
x int The x-coordinate.
y int The y-coordinate.
Результат void

MoveToAbsolute() защищенный абстрактный Метод

Moves the cursor at the specified coordinate.
protected abstract MoveToAbsolute ( int x, int y ) : void
x int The x-coordinate.
y int The y-coordinate.
Результат void

PressLeft() публичный абстрактный Метод

Presses the left button of the mouse at the current cursor position.
public abstract PressLeft ( ) : void
Результат void

PressMiddle() публичный абстрактный Метод

Presses the middle button of the mouse at the current cursor position.
public abstract PressMiddle ( ) : void
Результат void

PressRight() публичный абстрактный Метод

Presses the right button of the mouse at the current cursor position.
public abstract PressRight ( ) : void
Результат void

ReleaseLeft() публичный абстрактный Метод

Releases the left button of the mouse at the current cursor position.
public abstract ReleaseLeft ( ) : void
Результат void

ReleaseMiddle() публичный абстрактный Метод

Releases the middle button of the mouse at the current cursor position.
public abstract ReleaseMiddle ( ) : void
Результат void

ReleaseRight() публичный абстрактный Метод

Releases the right button of the mouse at the current cursor position.
public abstract ReleaseRight ( ) : void
Результат void

ScrollHorizontally() публичный абстрактный Метод

Scrolls horizontally using the wheel of the mouse at the current cursor position.
public abstract ScrollHorizontally ( int delta = 120 ) : void
delta int The amount of wheel movement.
Результат void

ScrollVertically() публичный абстрактный Метод

Scrolls vertically using the wheel of the mouse at the current cursor position.
public abstract ScrollVertically ( int delta = 120 ) : void
delta int The amount of wheel movement.
Результат void

Описание свойств

Window защищенное свойство

The reference of the RemoteWindow object.
protected RemoteWindow Window
Результат RemoteWindow