Пример #1
0
        public static void Draw(UIElementCollection children)
        {
            if (myBannerText == null)
            {
                return;
            }

            Label text = myBannerText.GetLabel();

            if (text == null)
            {
                myBannerText = null;
                return;
            }

            children.Add(text);
        }
Пример #2
0
        public static void Draw(UIElementCollection children)
        {
            if (myBannerText == null)
            {
                return;
            }

            Label text = myBannerText.GetLabel();
            if (text == null)
            {
                myBannerText = null;
                return;
            }

            children.Add(text);
        }
Пример #3
0
 public static void NewBanner(string s, Rect rect, bool scroll, System.Windows.Media.Color col)
 {
     myBannerText = (s != null) ? new BannerText(s, rect, scroll, col) : null;
 }
Пример #4
0
 public static void NewBanner(string s, Rect rect, bool scroll, Color col)
 {
     bannerText = (s != null) ? new BannerText(s, rect, scroll, col) : null;
 }
Пример #5
0
 public static void NewBanner(string s, Rect rect, bool scroll, System.Windows.Media.Color col)
 {
     myBannerText = (s != null) ? new BannerText(s, rect, scroll, col) : null;
 }