C# Класс Mosa.EmulatedDevices.Synthetic.DisplayForm

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Changed bool
bitmap Bitmap
graphic Graphics
onKeyPressed Keyboard.KeyPressed

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

Метод Описание
DisplayForm ( int width, int height ) : System

Initializes a new instance of the DisplayForm class.

SetSize ( int width, int height ) : void

Sets the size.

StartTimer ( ) : void

Starts the timer.

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

Метод Описание
OnPaintBackground ( PaintEventArgs e ) : void

Paints the background of the control.

Приватные методы

Метод Описание
DisplayForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
DisplayForm_KeyPress ( object sender, KeyPressEventArgs e ) : void
DisplayForm_Paint ( object sender, PaintEventArgs e ) : void
Timer_Tick ( object sender, EventArgs eArgs ) : void

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

DisplayForm() публичный метод

Initializes a new instance of the DisplayForm class.
public DisplayForm ( int width, int height ) : System
width int
height int
Результат System

OnPaintBackground() защищенный метод

Paints the background of the control.
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
Результат void

SetSize() публичный метод

Sets the size.
public SetSize ( int width, int height ) : void
width int The width.
height int The height.
Результат void

StartTimer() публичный метод

Starts the timer.
public StartTimer ( ) : void
Результат void

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

Changed публичное свойство

public bool Changed
Результат bool

bitmap публичное свойство

public Bitmap bitmap
Результат Bitmap

graphic публичное свойство

public Graphics graphic
Результат Graphics

onKeyPressed публичное свойство

public Keyboard.KeyPressed onKeyPressed
Результат Keyboard.KeyPressed