码迷,mamicode.com
首页 > 其他好文 > 详细

控制程序不出现在任务栏上

时间:2019-01-25 11:43:29      阅读:114      评论:0      收藏:0      [点我收藏+]

标签:hang   技术   false   str   oid   分享图片   div   highlight   void   

实现效果:

  技术分享图片

知识运用:

  Form类的ShowInTaskbar属性  //控制程序是否显示在任务栏中

  public bool ShowInTaskbar {get; set;}

实现代码:

        private void radioButton2_CheckedChanged(object sender, EventArgs e)
        {
            if (radioButton1.Checked)
                this.ShowInTaskbar = true;
            if (radioButton2.Checked)
                this.ShowInTaskbar = false;
        }

  

控制程序不出现在任务栏上

标签:hang   技术   false   str   oid   分享图片   div   highlight   void   

原文地址:https://www.cnblogs.com/feiyucha/p/10317744.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!