C# Class Examples.WinForms.GameLoopForm

显示文件 Open project: tpb3d/TPB3D Class Usage Examples

Public Methods

Method Description
GameLoopForm ( ) : System

Protected Methods

Method Description
OnClosing ( CancelEventArgs e ) : void
OnLoad ( EventArgs e ) : void

Private Methods

Method Description
Application_Idle ( object sender, EventArgs e ) : void
DrawCube ( ) : void
Main ( ) : void
Render ( ) : void
glControl_KeyDown ( object sender, KeyEventArgs e ) : void
glControl_KeyUp ( object sender, KeyEventArgs e ) : void
glControl_Paint ( object sender, PaintEventArgs e ) : void
glControl_Resize ( object sender, EventArgs e ) : void

Method Details

GameLoopForm() public method

public GameLoopForm ( ) : System
return System

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e EventArgs
return void