解决方案 »

  1.   

            public Form10()
            {
                InitializeComponent();
                this.FormBorderStyle = FormBorderStyle.None;
                this.Shown += new EventHandler(Form10_Shown);
            }        void Form10_Shown(object sender, EventArgs e)
            {
                Application.DoEvents();
                this.Location = new Point(0, 0);
                this.Width = Screen.PrimaryScreen.WorkingArea.Width;
                this.Height = Screen.PrimaryScreen.WorkingArea.Height;
                this.PreviewKeyDown += new PreviewKeyDownEventHandler(Form10_PreviewKeyDown);
            }        void Form10_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
            {
                if (e.KeyValue == 27)//Esc键
                {
                    this.Close();
                }
            }
    你这样就是最大化窗体了,而且没有标题栏,至于你要自己怎么写标题栏,那就加处panel,拉图片进去就行了。
      

  2.   

    如果是追求美观的界面建议用WPF取代winform
      

  3.   

    1.获取当前屏幕显示区域大小,不包含任务栏. 即任务栏以上的宽度和高度Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height2.获取当前屏幕大小,包括任务栏.Screen.PrimaryScreen.Bounds.Width ,Screen.PrimaryScreen.Bounds.Height
    将窗体高和宽设为屏幕的高度和宽度
      

  4.   

    C#高仿QQ2013通讯DEMO-点击下载
    C#精仿360安全卫士-点击下载
      

  5.   


    你这个最早之前是这样做的,其实就是把边框设置为NONE 大部分的消息自己处理,但是缺少了Windows窗体特有的一些效果,现在已经不打算这样做了,不过很感谢你码了这么多代码。
      

  6.   

    看是不是上面一部分也是这个form的估计你绘制的时候 不是从 0,0 开始所以导致上面有部分是空的