示例#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, CheckmateDialog CheckmateDialog)
 {
     controls.Add(CheckmateDialog.CheckmateLabel);
     controls.Add(CheckmateDialog.ReturnToMenuBtn);
 }