Esempio n. 1
0
        public void swapColor()
        {
            Brush b = Left.Background;

            Left.Background  = Right.Background;
            Right.Background = b;
            b = ScoreLeftTextBlock.Foreground;
            ScoreLeftTextBlock.Foreground  = ScoreRightTextBlock.Foreground;
            ScoreRightTextBlock.Foreground = b;
            if (showWindow != null)
            {
                showWindow.UpdateColor();
            }
        }
Esempio n. 2
0
 private void SecondWindow()
 {
     if (showWindow != null)
     {
         showWindow.Close();
     }
     showWindow = new ShowWindow
     {
         Owner = this
     };
     showWindow.Show();
     showWindow.UpdateColor();
     showWindow.UpdateScore();
     showWindow.UpdateTimer();
 }