예제 #1
0
 protected void AddNewObject(DrawArea drawArea, FLOObj o)
 {
     drawArea.Mgr.AddFLOObj(drawArea, o);
     drawArea.Refresh();
 }
예제 #2
0
 public override void OnMouseDown(DrawArea drawArea, MouseEventArgs e)
 {
     AddNewObject(drawArea, new FLORes(drawArea.Mgr, e.X, e.Y));
 }
예제 #3
0
 public override void OnMouseUp(DrawArea drawArea, MouseEventArgs e)
 {
     drawArea.Capture = false;
     drawArea.Refresh();
 }
예제 #4
0
 public virtual void OnMouseWheel(DrawArea drawArea, MouseEventArgs e)
 {
 }
예제 #5
0
 public virtual void OnMouseDoubleDown(DrawArea drawArea, MouseEventArgs e)
 {
     drawArea.Mgr.PopUp(drawArea, e);
 }
예제 #6
0
 public virtual void OnMouseMove(DrawArea drawArea, MouseEventArgs e)
 {
 }
예제 #7
0
 public void OnMouseUp(DrawArea drawArea, MouseEventArgs e)
 {
     this.Spoint = new Point(0, 0);
     this.Epoint = new Point(0, 0);
     handng      = false;
 }
예제 #8
0
 public override void OnMouseMove(DrawArea drawArea, MouseEventArgs e)
 {
     drawArea.Mgr.Gudsrt.SelModeMove(drawArea.Mgr, e);
     drawArea.Refresh();
 }