Ejemplo n.º 1
0
 public GameControls(ChessUILogic chessUILogic)
 {
     UILogic         = chessUILogic;
     PlayingField    = new PlayingField(chessUILogic);
     RightBar        = new RightBar(chessUILogic);
     CheckmateDialog = new CheckmateDialog(chessUILogic);
 }
Ejemplo n.º 2
0
 public static void Add(this Control.ControlCollection controls, RightBar RightBar)
 {
     controls.Add(RightBar.CurColourLabel);
     controls.Add(RightBar.CurColourPict);
     controls.Add(RightBar.PlayerColourLabel);
     controls.Add(RightBar.PlayerColourPict);
     controls.Add(RightBar.CheckLabel);
 }
Ejemplo n.º 3
0
 public void Hide()
 {
     PlayingField.Hide();
     RightBar.Hide();
     CheckmateDialog.Hide();
 }
Ejemplo n.º 4
0
 public void Show()
 {
     PlayingField.Show();
     RightBar.Show();
 }