C# Class Evbpc.Framework.Xna.Windows.Forms.TextBox

Represents a Framework.Windows.Forms.TextBox to be used with a Form.
Inheritance: Framework.Windows.Forms.TextBox, IDrawableControl, IUpdateableControl
显示文件 Open project: EBrown8534/Framework

Public Methods

Method Description
IDrawableControl ( SpriteBatch s, Framework initialLocation ) : void
IUpdateableControl ( bool hasFocus, GameTime gt ) : void
KeyStateMan_KeyDown ( object sender, KeyEventArgs e ) : void
KeyStateMan_KeyPress ( object sender, KeyPressEventArgs e ) : void
KeyStateMan_KeyUp ( object sender, KeyEventArgs e ) : void
TextBox ( SpriteFont font, string name ) : Evbpc.Framework.Windows.Forms

Constructs a new TextBox with the specified Control.Name.

TextBox ( SpriteFont font, string name, string text ) : Evbpc.Framework.Windows.Forms

Constructs a new TextBox with the specified Control.Name.

Method Details

IDrawableControl() public method

public IDrawableControl ( SpriteBatch s, Framework initialLocation ) : void
s Microsoft.Xna.Framework.Graphics.SpriteBatch
initialLocation Framework
return void

IUpdateableControl() public method

public IUpdateableControl ( bool hasFocus, GameTime gt ) : void
hasFocus bool
gt Microsoft.Xna.Framework.GameTime
return void

KeyStateMan_KeyDown() public method

public KeyStateMan_KeyDown ( object sender, KeyEventArgs e ) : void
sender object
e KeyEventArgs
return void

KeyStateMan_KeyPress() public method

public KeyStateMan_KeyPress ( object sender, KeyPressEventArgs e ) : void
sender object
e Evbpc.Framework.Windows.Forms.KeyPressEventArgs
return void

KeyStateMan_KeyUp() public method

public KeyStateMan_KeyUp ( object sender, KeyEventArgs e ) : void
sender object
e KeyEventArgs
return void

TextBox() public method

Constructs a new TextBox with the specified Control.Name.
public TextBox ( SpriteFont font, string name ) : Evbpc.Framework.Windows.Forms
font Microsoft.Xna.Framework.Graphics.SpriteFont The .
name string The .
return Evbpc.Framework.Windows.Forms

TextBox() public method

Constructs a new TextBox with the specified Control.Name.
public TextBox ( SpriteFont font, string name, string text ) : Evbpc.Framework.Windows.Forms
font Microsoft.Xna.Framework.Graphics.SpriteFont The .
name string The .
text string The
return Evbpc.Framework.Windows.Forms