合并的最好方法不是 ctrl v ctrl p, 是理解了逻辑以后, 自己在程序中有选择的实现.

解决方案 »

  1.   

    (1)↓直接用;
    public Rectangle GetEllopse(Point p_CenterPoint, int p_Radius) 
            { 
                int _X = p_CenterPoint.X - p_Radius; 
                int _Y = p_CenterPoint.Y - p_Radius; 
                return new Rectangle(_X, _Y, p_Radius * 2, p_Radius * 2); 
            } 
    (2)pictureBox1_MouseMove,pictureBox1_MouseDown,pictureBox1_MouseUp,是事件,就是pictureBox1中的属性面板中的像雷电符号中的内中,找到后双击进入,复制对应代码即可。
      

  2.   

      public bool m_Panit = false;
     public Point m_Point = new Point(0, 0); 
    要声明在使用之前