Exemple #1
0
 public override Object Clone()
 {
     var result = new GridProperty();
     result.InitProperty();
     Copy(result);
     return result;
 }
Exemple #2
0
 public override void OnMouseDown(IToolDrawArea drawArea, MouseEventArgs e)
 {
     var property = new GridProperty();
     property.InitProperty();
     property.Size = "1,1";
     property.Location = String.Format("{0},{1}", e.X, e.Y);
     var draw = new DrawGrid(property);
     drawArea.AddNewDrawObject(draw);
 }