C# 클래스 Evbpc.Framework.Xna.Windows.Forms.Form

Represents a Framework.Windows.Forms.Form that can be drawn with an XNA SpriteBatch.
상속: Framework.Windows.Forms.Form
파일 보기 프로젝트 열기: EBrown8534/Framework

공개 메소드들

메소드 설명
DrawAll ( SpriteBatch s ) : void

This call must be made in order for any forms to be displayed.

Form ( string name ) : System

Creates a new instance of the Form class.

UpdateAll ( GameTime gt, bool hasFocus ) : void

This should update anything that requires mouse, keyboard, gamepad, joystick, or other input controls. (Dragging, etc.)

비공개 메소드들

메소드 설명
Draw ( SpriteBatch s ) : void
GetActiveForm ( Evbpc.Framework.Drawing p ) : int
KeyStateMan_KeyDown ( object sender, KeyEventArgs e ) : void
KeyStateMan_KeyPress ( object sender, KeyPressEventArgs e ) : void
KeyStateMan_KeyUp ( object sender, KeyEventArgs e ) : void
Update ( bool hasFocus, GameTime gt ) : void

메소드 상세

DrawAll() 공개 정적인 메소드

This call must be made in order for any forms to be displayed.
public static DrawAll ( SpriteBatch s ) : void
s Microsoft.Xna.Framework.Graphics.SpriteBatch The SpriteBatch to do the drawing.
리턴 void

Form() 공개 메소드

Creates a new instance of the Form class.
public Form ( string name ) : System
name string
리턴 System

UpdateAll() 공개 정적인 메소드

This should update anything that requires mouse, keyboard, gamepad, joystick, or other input controls. (Dragging, etc.)
public static UpdateAll ( GameTime gt, bool hasFocus ) : void
gt Microsoft.Xna.Framework.GameTime A value representing the elapsed GameTime since the last update.
hasFocus bool A value indicating whether or not the application has focus.
리턴 void