コード例 #1
0
 private void pictureBox2_Click(object sender, EventArgs e)
 {
     if (newAgent.IsRealPlayer(Interaction.InputBox("Please enter a valid intruder username", "Agent Lookup", "robstorm", -1, -1)) == true)
     {
         agent2Name.Text = newAgent.Name.ToString();
         agent2Ava.Load($"{newAgent.avatarURL}");
         agent2WinRate.Text  = newAgent.winRate.ToString() + "%";
         agent2SurvRate.Text = newAgent.survivalRate.ToString() + "%";
         agent2Time.Text     = newAgent.timePlayed.ToString();
     }
     else
     {
         return;
     }
 }