Пример #1
0
 private void LoadFile()
 {
     try
     {
         _drawModel = _drawKeeper.Load();
         _drawingLine.UpdateView(_drawModel.Paths);
     }
     catch (System.Exception ex)
     {
         _drawModel = new DrawModel();
         _drawingLine.UpdateView(_drawModel.Paths);
     }
 }
Пример #2
0
 private void LoadFile()
 {
     try
     {
         _drawModel = _drawKeeper.Load();
         _paintView.UpdateView(_drawModel.Paths);
     }
     catch
     {
         _drawModel = new DrawModel();
         _paintView.UpdateView(_drawModel.Paths);
     }
 }