你让它的头部没了的话就是不能移动的  就是在FormStyle 设为 None

解决方案 »

  1.   

    我的笨办法!你可以直接把FormBoderStyle = None;不过这个方法你就不能显示边框了,你可以通过pictureBox重新弄个边框出来也行!!我就知道这么一个办法了!不知道能不能帮到你!
      

  2.   

    先记录location,再在LocationChanged或move事件里把记录下的值再给location 
    private Point point; 
    private void Form1_Load(object sender, EventArgs e) 

    point = this.Location; 

    private void Form1_Move(object sender, EventArgs e) 

    this.Location = point; 
    }
      

  3.   

            protected override void WndProc(ref Message m) {
                // WM_NCLBUTTONDOWN = 0xA1
                // HTCAPTION = 2
                if (m.Msg == 0x00A1 && m.WParam.ToInt32() == 2)
                    return;
                base.WndProc(ref m);
            }
    这段代码加到你的窗体.cs文件里