C# Class FlatRedBall.Glue.Controls.TextInputWindow

Inheritance: System.Windows.Forms.Form
Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Property Type Description
InitializeComponent void
mOkWindow_Click void

Public Methods

Method Description
AddControl ( Control control, AboveOrBelow aboveOrBelow = AboveOrBelow.Below ) : void

Adds a control to the TextInputWindow. The control will automatically be positioned below the previously-added control. The spacing can be controlled through the control's Margin property.

If you are adding a control after a label, you may need to adjust the label's height. By default it's bigger than usually desired.

ClickOk ( ) : void
TextInputWindow ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnShown ( EventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

mOkWindow_Click ( object sender, EventArgs e ) : void

Method Details

AddControl() public method

Adds a control to the TextInputWindow. The control will automatically be positioned below the previously-added control. The spacing can be controlled through the control's Margin property.
If you are adding a control after a label, you may need to adjust the label's height. By default it's bigger than usually desired.
public AddControl ( Control control, AboveOrBelow aboveOrBelow = AboveOrBelow.Below ) : void
control System.Windows.Forms.Control The control to add
aboveOrBelow AboveOrBelow
return void

ClickOk() public method

public ClickOk ( ) : void
return void

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

OnShown() protected method

protected OnShown ( EventArgs e ) : void
e System.EventArgs
return void

TextInputWindow() public method

public TextInputWindow ( ) : System
return System