Exemplo n.º 1
0
        private void krButton_MouseEnter(object sender, MouseEventArgs e)
        {
            DoubleAnimation da = new DoubleAnimation();

            da.From        = 0;
            da.To          = 1;
            da.Duration    = new Duration(TimeSpan.FromSeconds(1));
            da.AutoReverse = false;
            SetLanguageLabel.BeginAnimation(OpacityProperty, da);
            SetLanguageLabel.Content = "언어를 선택하십시오";
        }
        private void animate_Language_Label(string language_text)///animate language buttons hover language Transition
        {
            DoubleAnimation da = new DoubleAnimation();

            da.From        = 0;
            da.To          = 1;
            da.Duration    = new Duration(TimeSpan.FromSeconds(1));
            da.AutoReverse = false;
            SetLanguageLabel.BeginAnimation(OpacityProperty, da);
            SetLanguageLabel.Content = language_text;
        }