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