Example #1
0
        private void txt_CT_TextChanged(object sender, EventArgs e)
        {
            ManageInputs M = new ManageInputs();

            if (txt_CT.Text != "" || txt_CT.Text != null)
            {
                string text = txt_CT.Text;
                M.AccesSpecificComponentValue(txt_CT.Text, cb_V);
            }

            if (txt_CT.Text == string.Empty)
            {//if text is deleted, the value combo box should also be be empty as it has no dataSource
                cb_V.DataSource = null;
            }
        }