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