Exemple #1
0
 public void ProcessToolAllEntities(PicTool tool)
 {
     foreach (PicEntity entity in _entities)
     {
         try { tool.ProcessEntity(entity); } catch (Exception ex) { _log.Error(ex.Message); }
     }
 }
Exemple #2
0
 public void ProcessTool(PicTool tool)
 {
     try
     {
         // TODO : might need to implement Undo/Redo feature in this function
         // process tool
         tool.ProcessFactory(this);
     }
     catch (Exception ex)
     {
         _log.Error(ex.Message);
     }
 }