Esempio n. 1
0
        /// <summary>
        /// 属性返回值
        /// </summary>
        /// <param name="x"></param>
        void ReRender(int x)
        {
            switch (x)
            {
            case 1:
                t1.FontFamily = new FontFamily(TitleFontFamily.ToString());
                break;

            case 2:
                t1.Foreground = TitleForegroundColor;
                break;

            case 3:
                t1.Text = TextTitle;
                break;


            case 4:
                t1.FontSize = TitleSize;
                break;
            }
        }
Esempio n. 2
0
        void ReRender(int x)
        {
            DoubleAnimation control = (gun.FindName("info") as DoubleAnimation);

            switch (x)
            {
            case 1:
                t1.FontFamily = new FontFamily(TitleFontFamily.ToString());
                break;

            case 2:
                t1.Foreground = TitleForegroundColor;
                break;

            case 3:
                t1.Text = TextTitle;
                break;

            case 4:
                t1.FontSize = TitleSize;
                break;
            }
        }