C# Class MBC.App.Terminal.Controls.CheckboxControl

Inheritance: UserControl
显示文件 Open project: aiclub/Mohawk_Battleship Class Usage Examples

Public Methods

Method Description
CheckboxControl ( string text ) : System
CheckboxControl ( string text, bool chk ) : System
Input ( string txt ) : void
KeyPress ( ConsoleKeyInfo key ) : bool

Private Methods

Method Description
SetCheckbox ( ) : void

Method Details

CheckboxControl() public method

public CheckboxControl ( string text ) : System
text string
return System

CheckboxControl() public method

public CheckboxControl ( string text, bool chk ) : System
text string
chk bool
return System

Input() public method

public Input ( string txt ) : void
txt string
return void

KeyPress() public method

public KeyPress ( ConsoleKeyInfo key ) : bool
key System.ConsoleKeyInfo
return bool