C# Class Mosa.EmulatedDevices.Synthetic.DisplayForm

Datei anzeigen Open project: tgiphil/MOSA-Project Class Usage Examples

Public Properties

Property Type Description
Changed bool
bitmap Bitmap
graphic Graphics
onKeyPressed Keyboard.KeyPressed

Public Methods

Method Description
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.

Protected Methods

Method Description
OnPaintBackground ( PaintEventArgs e ) : void

Paints the background of the control.

Private Methods

Method Description
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

Method Details

DisplayForm() public method

Initializes a new instance of the DisplayForm class.
public DisplayForm ( int width, int height ) : System
width int
height int
return System

OnPaintBackground() protected method

Paints the background of the control.
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
return void

SetSize() public method

Sets the size.
public SetSize ( int width, int height ) : void
width int The width.
height int The height.
return void

StartTimer() public method

Starts the timer.
public StartTimer ( ) : void
return void

Property Details

Changed public_oe property

public bool Changed
return bool

bitmap public_oe property

public Bitmap bitmap
return Bitmap

graphic public_oe property

public Graphics graphic
return Graphics

onKeyPressed public_oe property

public Keyboard.KeyPressed onKeyPressed
return Keyboard.KeyPressed