public UCTab(StoredGame storedGame) { this.storedGame = storedGame; InitializeComponent(); uCBoard = new UCBoard(); grdMain.Children.Add(uCBoard); isPause = true; isOver = false; currentMove = -1; ChangeStatusBtn(isPause); Thread thread = new Thread(new ThreadStart(PlayGame)); thread.IsBackground = true; thread.Start(); delay = 1000; }
public UCTab() { InitializeComponent(); uCBoard = new UCBoard(); grdMain.Children.Add(uCBoard); }