Beispiel #1
0
        private void RefreshPage1(string[] result)
        {
            try
            {
                if (!BFT.JudgeSuccessful(result))
                {
                    ShowErrorBox(result);
                    return;
                }

                label1.Text  = "每分钟得分";
                label4.Text  = "每分钟击杀数";
                label5.Text  = "游戏时间";
                label6.Text  = "胜率";
                label11.Text = "死亡数";
                label12.Text = "击杀数";
                try
                {
                    RankPic.Image = null;
                    RankPic.LoadAsync(result[8]);
                }
                catch (Exception)
                { }
                RankLab.Text  = result[0];
                IDLab.Text    = inputID;
                SPMLab.Text   = result[1];
                WinsLab.Text  = ((int)(((double)int.Parse(result[9]) / (double)(int.Parse(result[9]) + int.Parse(result[10]))) * 100)).ToString() + "%";
                KillsLab.Text = result[5];
                KPMLab.Text   = result[4];
                TimeLab.Text  = result[3] + "小时";
                DeathLab.Text = result[6];
            }
            catch (Exception)
            { }
        }
Beispiel #2
0
 private void QueryDT()
 {
     RefreshDogtag(BFT.GetDogTagImg(inputID));
     Page1finishFlag--;
     if (Page1finishFlag <= 0)
     {
         loadingLabel.Visible = false; Page1finishFlag = 0;
     }
 }
Beispiel #3
0
 private void QueryKS()
 {
     KSresult = BFT.GetKitRanks(inputID);
     RefreshPage2(DSresult, KSresult);
     Page2finishFlag--;
     if (Page2finishFlag <= 0)
     {
         loadingLabel2.Visible = false; Page2finishFlag = 0;
     }
 }
Beispiel #4
0
 private void QueryBS()
 {
     tabPage1.BackgroundImage = global::战绩追踪_C_Sharp.Properties.Resources.APOCALYPSE_GLASS;
     RefreshPage1(BFT.GetBasicStats(inputID));
     Page1finishFlag--;
     if (Page1finishFlag <= 0)
     {
         loadingLabel.Visible = false; Page1finishFlag = 0;
     }
 }
Beispiel #5
0
        private void QueryVS()
        {
            tabPage4.BackgroundImage = global::战绩追踪_C_Sharp.Properties.Resources.APOCALYPSE_GLASS;
            loadingLabel4.Visible    = true;
            VSresult = BFT.GetVehiclesStats(inputID);
            treeView3.Nodes.Clear();
            ClearVehicles();
            MakePage4(VSresult);
            RefreshPage4(VSresult);

            loadingLabel4.Visible = false;
        }
Beispiel #6
0
        private void QueryWS()
        {
            tabPage3.BackgroundImage = global::战绩追踪_C_Sharp.Properties.Resources.APOCALYPSE_GLASS;
            loadingLabel3.Visible    = true;
            WSresult = BFT.GetWeaponsStats(inputID);
            treeView2.Nodes.Clear();
            ClearWeapons();
            MakePage3(WSresult);
            RefreshPage3(WSresult);

            loadingLabel3.Visible = false;
        }
Beispiel #7
0
 private void QueryDS()
 {
     tabPage2.BackgroundImage = global::战绩追踪_C_Sharp.Properties.Resources.APOCALYPSE_GLASS;
     loadingLabel2.Visible    = true;
     DSresult = BFT.GetDetailedStats(inputID);
     RefreshPage2(DSresult, KSresult);
     Page2finishFlag--;
     if (Page2finishFlag <= 0)
     {
         loadingLabel2.Visible = false; Page2finishFlag = 0;
     }
 }