Ejemplo n.º 1
0
 public void Remove(MoveControl control)
 {
     if (allControl.Contains(control))
     {
         allControl.Remove(control);
     }
 }
Ejemplo n.º 2
0
 public MoveShape()
 {
     InitializeComponent();
     moveControl       = new MoveControl(this);
     this.MouseDown   += moveControl._control_MouseDown;
     this.MouseMove   += moveControl._control_MouseMove;
     this.Paint       += moveControl._control_Paint;
     this.MouseClick  += moveControl._control_MouseClick;
     this.MouseUp     += moveControl._control_MouseUp;
     this.SizeChanged += moveControl._control_SizeChanged;
     this.Disposed    += MovePictureBox_Disposed;
 }