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(); }
private static void AddUri(List <String> list, String path) { list.Add(path); JsonWorker.serializeProduct <List <String> >(list); }