Esempio n. 1
0
 public virtual IDrawObject Clone()
 {
     try
     {
         StorageTool Storage = new StorageTool();
         Storage.Copy(this);
         return(Storage);
     }
     catch (Exception ex)
     { throw ex; }
 }
Esempio n. 2
0
 public virtual void Copy(StorageTool acopy)
 {
     try
     {
         base.Copy(acopy);
         location     = acopy.location;
         StorageState = acopy.StorageState;
         LankMarkCode = acopy.LankMarkCode;
         StorageName  = acopy.StorageName;
         StcokID      = acopy.StcokID;
         LockState    = acopy.LockState;
         OwnArea      = acopy.OwnArea;
         SubOwnArea   = acopy.SubOwnArea;
         matterType   = acopy.matterType;
         Selected     = acopy.Selected;
     }
     catch (Exception ex)
     { throw ex; }
 }