创建由浅变深的窗体

 public partial class Frm_Main : Form
    {
        public Frm_Main()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            this.Opacity += 0.1;//设置窗体的不透明级别
        }
    }

嘻嘻  爱生活  爱圆圆

 
posted @ 2014-02-20 16:39  蚂蚁拉车  阅读(106)  评论(0编辑  收藏  举报