public MainWindow()
 {
     InitializeComponent();
     rchTextBox.SelectionChanged    += new RoutedEventHandler(rchTextBox_SelectionChanged);
     styleComboBox.SelectionChanged += StyleChange;
     //    paths = new List<String>();
     paths = JsonWorker.deserializeProducts <List <String> >();
     if (paths == null)
     {
         paths = new List <String>();
     }
     SetStartItemValues();
 }
Beispiel #2
0
 private static void AddUri(List <String> list, String path)
 {
     list.Add(path);
     JsonWorker.serializeProduct <List <String> >(list);
 }