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

Inheritance: UserControl
Afficher le fichier Open project: aiclub/Mohawk_Battleship Class Usage Examples

Méthodes publiques

Méthode Description
Input ( string txt ) : void
KeyPress ( ConsoleKeyInfo key ) : bool
RadioButtonControl ( string text, RadioButtonControlGroup group ) : System
RadioButtonControl ( string text, bool select, RadioButtonControlGroup group ) : System
SetSelected ( bool selected ) : void

Method Details

Input() public méthode

public Input ( string txt ) : void
txt string
Résultat void

KeyPress() public méthode

public KeyPress ( ConsoleKeyInfo key ) : bool
key System.ConsoleKeyInfo
Résultat bool

RadioButtonControl() public méthode

public RadioButtonControl ( string text, RadioButtonControlGroup group ) : System
text string
group RadioButtonControlGroup
Résultat System

RadioButtonControl() public méthode

public RadioButtonControl ( string text, bool select, RadioButtonControlGroup group ) : System
text string
select bool
group RadioButtonControlGroup
Résultat System

SetSelected() public méthode

public SetSelected ( bool selected ) : void
selected bool
Résultat void