private void button1_Click_1(object sender, EventArgs e) { var cmd = new PlayerCommands(Connection); cmd.SelectChampion(Convert.ToInt64(textBox1.Text)); }