private void Window_Loaded(object sender, RoutedEventArgs e) { DBExecutor.FillTheListFromDB(ref listBox, ref listOfListEls); }
private void readElButton_Click(object sender, RoutedEventArgs e) //Remove In Final version { List <string> lines = DBExecutor.ReadFromDB(); }
public void DeleteEl(int index) { DBExecutor.DeleteDBEntry(JsonConvert.SerializeObject(listOfListEls[index].Data)); listOfListEls.RemoveAt(index); listBox.Items.RemoveAt(index); }