C# Class DCPU16_ASM.Winforms.UserWindowForm

Show file Open project: densitynz/DCPU-16-ASM.NET Class Usage Examples

Public Methods

Method Description
FeedReferences ( Bitmap &_frameBuffer, MainForm &_mainForm ) : void
SetArrayKeyMapping ( arrowMapType _map ) : void

Change arrow key mapping

UserWindowForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Quick hack to get arrow keys as Keypress doesn't capture it :/

Private Methods

Method Description
GameWindowForm_KeyPress ( object sender, KeyPressEventArgs e ) : void

On keypress

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

pictureBox1_Paint ( object sender, PaintEventArgs e ) : void

Picture box Paint

timer1_Tick ( object sender, EventArgs e ) : void

Tick timer

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

FeedReferences() public method

public FeedReferences ( Bitmap &_frameBuffer, MainForm &_mainForm ) : void
_frameBuffer Bitmap
_mainForm MainForm
return void

ProcessCmdKey() protected method

Quick hack to get arrow keys as Keypress doesn't capture it :/
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
return bool

SetArrayKeyMapping() public method

Change arrow key mapping
public SetArrayKeyMapping ( arrowMapType _map ) : void
_map arrowMapType
return void

UserWindowForm() public method

public UserWindowForm ( ) : System
return System