示例#1
0
 public void LoadDrawingFromDGF(string[] lines, string fileName)
 {
     try
     {
         ShowOperationDuration(() =>
         {
             Clear();
             Drawing.AddFromDGF(lines);
             Drawing.ActionManager.Clear();
             Drawing.Name = fileName;
         });
     }
     catch (Exception ex)
     {
         Drawing.RaiseError(this, ex);
     }
 }