private void LoadTable() { List <FileSubscriber> list = new SaveLoadConfig().LoadConfig(); if (list != null) { _subscriber.SubscribeChangeFiles(list); StartAutoupdateVersionAsync(true); SetItemSouce(list); } }
private void MiSaveTable_Click(object sender, RoutedEventArgs e) { bool result = new SaveLoadConfig().SaveConfig(listFile.ToList()); }