private void VelgKid() { if (comboBox1.Text.Length > 1) { var k = mainController.GetKid(comboBox1.Text); textBox2.Text = k.FirstName; textBox3.Text = k.LastName; textBox4.Text = "" + k.Age; textBox5.Text = k.Email; textBox6.Text = k.Ethnisity; textBox7.Text = "" + k.Postcode; textBox8.Text = k.TLF; if (k.Gender.Equals("Mann")) { radioButton1.Checked = true; radioButton2.Checked = false; } else { radioButton1.Checked = false; radioButton2.Checked = true; } kk = k; } }