예제 #1
0
 /// <summary>
 /// 查看尚未出结果的比赛
 /// </summary>
 private void UnknownRecommends()
 {
     if (WinGameUnknown == null)
     {
         var vm = new PersonRecommendsViewModel();
         WinGameUnknown = new PersonRecommendsWindow();
         WinGameUnknown.DataContext = vm;
         WinGameUnknown.Title = "未知推荐结果的推荐";
         WinGameUnknown.Loaded += (o, e) => vm.LoadUnknown();
         WinGameUnknown.Closed += (o, e) => WinGameUnknown = null;
     }
     WinGameUnknown.Activate();
     WinGameUnknown.Show();
 }