private void undoButton_Click(object sender, RoutedEventArgs e) { MsGame.CloseBox(Cords[0], Cords[1]); RefreshCanvas(); MsGame.GameStatus = Status.Play; }