标题:怎样让动态加载的label闪烁?
取消只看楼主
zhouyie2
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-12-7
 问题点数:0 回复次数:1 
怎样让动态加载的label闪烁?
我写了一个动态加载label的方法,同时我想让他们都闪烁,该怎么办啊? 求助大大门 !!!

 
        Label lbl;
        public void painLabel()
        {
            for (int r = 1; r <= 5; r++)
            {
                for (int c = 1; c <= 6; c++)
                {
                    lbl = new Label();
                    lbl.Name = "lbl" + r + "-" + c;
                    lbl.Text = r + "-" + c;
                    lbl.AutoSize = true;
                    lbl.Font = new Font("宋体", 13.75F,System.Drawing.FontStyle.Bold);
                    lbl.ForeColor = System.Drawing.Color.Blue;
                    lbl.Location = new Point((90 * c), (50 * r));
                    this.Controls.Add(lbl);
                 }
            }
         }
搜索更多相关主题的帖子: label 加载 动态 闪烁 
2008-12-07 14:18
zhouyie2
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-12-7
得分:0 
以下是引用ecjob在2008-12-7 14:53的发言:

怎么闪烁???



label的字体或者背景变色就可以。。
2008-12-07 15:10



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-248143-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.673358 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved