摘要:
Point oldMousePoint;//记录开始移动窗口前鼠标点下箭头的位置 Point oldFormPoint;//记录开始移动窗口前窗体位置 /// /// 窗体鼠标按下事件中初始化oldMousePoint,oldFormPoint /// /// /// private void Form1_MouseDown(object sender, MouseEventArgs e) { if(e.Button ==MouseButtons .Left ) { oldMousePoint = new Point(Control.MousePosition.X, Control... 阅读全文