private void gameCanvas_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { int[] cords = getBoxCords(sender, e); if (MsGame.isPlaying()) { MsGame.OpenBox(cords[0], cords[1]); RefreshCanvas(); CheckGameStatus(); } }
private void gameCanvas_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { int[] cords = getBoxCords(sender, e); if (MsGame.isPlaying()) { MsGame.OpenBox(cords[0], cords[1]); RefreshCanvas(); CheckGameStatus(); } }