private void ReadFile() { if (_model.id != -1) { if (_model.EditsStrm == null) { sfImageEditor.LoadEdits(EditsViewModel.EditsCollection[_model.id].Stream); } else { sfImageEditor.LoadEdits(_model.EditsStrm); } } }
void LoadStreamToEditor() { editor.LoadEdits(Serialization.ImageStream); }