Ejemplo n.º 1
0
 public virtual IDrawObject Clone()
 {
     try
     {
         PositionTool Storage = new PositionTool();
         Storage.Copy(this);
         return(Storage);
     }
     catch (Exception ex)
     { throw ex; }
 }
Ejemplo n.º 2
0
 public virtual void Copy(PositionTool acopy)
 {
     try
     {
         base.Copy(acopy);
         Location    = acopy.Location;
         State       = acopy.State;
         ZoneID      = acopy.ZoneID;
         LandID      = acopy.LandID;
         RowID       = acopy.RowID;
         ColId       = acopy.ColId;
         LayerId     = acopy.LayerId;
         MaxTrays    = acopy.MaxTrays;
         DesCription = acopy.DesCription;
         PositionID  = acopy.PositionID;
     }
     catch (Exception ex)
     { throw ex; }
 }