예제 #1
0
 public override Object Clone()
 {
     var result = new PlayerProperty();
     result.InitProperty();
     Copy(result);
     return result;
 }
예제 #2
0
 public override void OnMouseDown(IToolDrawArea drawArea, MouseEventArgs e)
 {
     var property = new PlayerProperty();
     property.InitProperty();
     property.Size = "1,1";
     property.Location = String.Format("{0},{1}", e.X, e.Y);
     var draw = new DrawPlayer(property);
     drawArea.AddNewDrawObject(draw);
 }
예제 #3
0
 public DrawPlayer(PlayerProperty property)
     : base(property)
 {
 }
예제 #4
0
 public override IDrawObject CreateDrawObject(PageControl control)
 {
     var property = new PlayerProperty();
     InitDrawObjectFromPageControl(control, property);
     return new DrawPlayer(property);
 }