private void Button_Click_2(object sender, RoutedEventArgs e) { int id = lvWords.SelectedIndex; WordPool.Delete(id); WordList window = new WordList(); window.Show(); this.Close(); }
public static void DeleteWord(String name, bool english) { WordPool.Delete(name, english); }