C# Class Mosa.EmulatedDevices.Synthetic.DisplayForm

Show file 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 property

public bool Changed
return bool

bitmap public property

public Bitmap bitmap
return Bitmap

graphic public property

public Graphics graphic
return Graphics

onKeyPressed public property

public Keyboard.KeyPressed onKeyPressed
return Keyboard.KeyPressed