private void comboBox4_TextChanged(object sender, EventArgs e) { if (comboBox4.SelectedIndex != -1) { Price_UserDB price_User = new Price_UserDB(); textBox1.Text = price_User.SelectPrice(comboBox4.Text, Data.User.ID1).ToString(); } }