private void NewGame_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { GameManger.NewGameSetup(); }
private void MouseDetection_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var element = (UIElement)e.Source; GameManger.CellClick(Grid.GetRow(element), Grid.GetColumn(element)); }