拖动无边框窗体Form至桌面任何位置 首先建一个Windows应用程序 将Form1的 FormBorderStyle属性设置为Noe Point mouseOff; // 鼠标移动位置变量 bool leftFlag; // 标签是否为左键 Form1_MouseDown()中