Esempio n. 1
0
 protected override void RunThread()
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         GenericSerializer.convertToXML(saving(shapes, lines), path);
     });
 }
Esempio n. 2
0
 protected override void RunThread()
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         loadedModelsList = GenericSerializer.convertFromXML <List <ModelBase> >(path);
         loading(loadedModelsList);
     });
 }