欢迎加我的QQ群:193522571,一起来讨论、交流!

c# winform 窗体最大化后挡住了任务栏

      this.WindowState = FormWindowState.Normal;
      this.FormBorderStyle = FormBorderStyle.Sizable;
      this.Top = 0;
      this.Left = 0;
      this.Width = Screen.PrimaryScreen.WorkingArea.Width;
      this.Height = Screen.PrimaryScreen.WorkingArea.Height;

 

posted @ 2016-03-21 15:51  swtool  阅读(3037)  评论(0编辑  收藏  举报
欢迎加我的QQ群:193522571,一起来讨论、交流!