private void Showtiku_Click(object sender, RoutedEventArgs e) { Tiku tiku = (Tiku)listview.SelectedItem; path = tiku.Path; this.Close(); }
private void Selected(object sender, SelectionChangedEventArgs e) { showtiku.ItemsSource = null; Tiku tiku = (Tiku)listview.SelectedItem; Console.WriteLine("tiku中含有的题目数量:" + tiku.problems.Count); showtiku.ItemsSource = tiku.problems; }
public RenameForTiku(Object ob) { tk = (Tiku)ob; InitializeComponent(); }