Esempio n. 1
0
 private void NewGame_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     GameManger.NewGameSetup();
 }
Esempio n. 2
0
        private void MouseDetection_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            var element = (UIElement)e.Source;

            GameManger.CellClick(Grid.GetRow(element), Grid.GetColumn(element));
        }