示例#1
0
 public GameControls(ChessUILogic chessUILogic)
 {
     UILogic         = chessUILogic;
     PlayingField    = new PlayingField(chessUILogic);
     RightBar        = new RightBar(chessUILogic);
     CheckmateDialog = new CheckmateDialog(chessUILogic);
 }
示例#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);
 }
示例#3
0
 public void Hide()
 {
     PlayingField.Hide();
     RightBar.Hide();
     CheckmateDialog.Hide();
 }
示例#4
0
 public void Show()
 {
     PlayingField.Show();
     RightBar.Show();
 }