예제 #1
0
        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();
            }
        }
예제 #2
0
        /*! \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();
            }
        }