public GameControls(ChessUILogic chessUILogic) { UILogic = chessUILogic; PlayingField = new PlayingField(chessUILogic); RightBar = new RightBar(chessUILogic); CheckmateDialog = new CheckmateDialog(chessUILogic); }
public static void Add(this Control.ControlCollection controls, CheckmateDialog CheckmateDialog) { controls.Add(CheckmateDialog.CheckmateLabel); controls.Add(CheckmateDialog.ReturnToMenuBtn); }