private void Btn_UploadCenter_Click(object sender, RoutedEventArgs e)
        {
            MatchInfo?matchInfo = this.cmb_game.SelectedItem as MatchInfo?;

            if (matchInfo != null)
            {
                SubBaseForm sb = new SubBaseForm("正在同步比赛数据,请稍候...");
                SubBaseForm.DelegateHasParmAndNonReturn my = new SubBaseForm.DelegateHasParmAndNonReturn(UploadData);
                sb.HasParmAndNonReturnMethod(my, matchInfo.Value.SessionId);
            }
            else
            {
                MessageBox.Show("请选择比赛场次");
            }
        }
Example #2
0
 private void SelectMatch_OnClick(object sender, MatchInfo e)
 {
     if (Mode == 8)
     {
         SubBaseForm sb = new SubBaseForm("正在加载白名单人员数据,请稍候...");
         SubBaseForm.DelegateHasParmAndNonReturn my = new SubBaseForm.DelegateHasParmAndNonReturn(searchData);
         sb.HasParmAndNonReturnMethod(my, e.SessionId);
     }
     if (_faceModel != null)
     {
         _faceModel.MyMatch = e;
         MyGrid.Children.Add(_faceModel);
         _faceModel.Init();
     }
     SelectControl.Visibility = Visibility.Hidden;
 }