Ejemplo n.º 1
0
 private void LoadFile()
 {
     try
     {
         _drawModel = _drawKeeper.Load();
         _drawingLine.UpdateView(_drawModel.Paths);
     }
     catch (System.Exception ex)
     {
         _drawModel = new DrawModel();
         _drawingLine.UpdateView(_drawModel.Paths);
     }
 }
Ejemplo n.º 2
0
 private void LoadFile()
 {
     try
     {
         _drawModel = _drawKeeper.Load();
         _paintView.UpdateView(_drawModel.Paths);
     }
     catch
     {
         _drawModel = new DrawModel();
         _paintView.UpdateView(_drawModel.Paths);
     }
 }