private void Button1_Click(object sender, RoutedEventArgs e) // click event/function [works more like event] { this.Content = type; // show type as if (this.IsEnabled) { FlipManager(); _mg.UpdateScores(); _mg.UpdateAllScores(); } }
/*! \brief eventlistener for when card is clicked */ private void Button1_Click(object sender, RoutedEventArgs e) // click event/function [works more like event] { this.Background = backgroundimg; if (this.IsEnabled) { FlipManager(); _mg.UpdateScores(); _mg.UpdateAllScores(); } }