private void Back_Click(object sender, RoutedEventArgs e) { matchsettings windowshow = new matchsettings(); this.Close(); windowshow.Show(); }
private void Matchlist_SelectionChanged(object sender, SelectionChangedEventArgs e) { //选中比赛存档 matchselected = matchlist.SelectedItem.ToString(); File.WriteAllText(stuffpath + "\\" + "matchname.txt", matchselected); //窗口切换 matchsettings msshow = new matchsettings(); this.Close(); msshow.Show(); }