示例#1
0
文件: Form1.cs 项目: PMArkive/pkBV
        private void LoadTeamData(IReadOnlyList <PKM> dat, IReadOnlyList <string> trainers)
        {
            int team = 0;

            for (int i = 0; i < 24; i++)
            {
                if (dat[i].Species <= 0 || dat[i].Species >= 722)
                {
                    continue;
                }

                if (i % 6 == 0)
                {
                    RTB_Team.AppendText(string.Format("{1}{2}'s Party -- {0}{1}", ++team + Environment.NewLine, "========" + Environment.NewLine, trainers[team - 1]));
                }
                RTB_Team.AppendText(new ShowdownSet(dat[i]).Text);
                RTB_Team.AppendText(Environment.NewLine + Environment.NewLine);
            }
        }
示例#2
0
文件: Form1.cs 项目: PMArkive/pkBV
 private void Reset()
 {
     B_Reload.Enabled = true;
     RTB_Team.Clear();
     RTB_Parse.Clear();
 }