combobox的选择事件

 private void cmbSpareparts_no_SelectedIndexChanged(object sender, EventArgs e)
        {
            cmbSpareparts_name.Text = operate.BJName(cmbSpareparts_no.SelectedItem.ToString());
            cmbCategory.Text = operate.BJ_Cate(cmbSpareparts_no.SelectedItem.ToString());
            cmbCK_no.Text = operate.BJNOWCKNo(cmbSpareparts_no.SelectedItem.ToString());
            cmbCK_name.Text = operate.BJCKname(cmbCK_no.Text.Trim());
            txtShelve_no.Text = operate.BJNowShelve(cmbSpareparts_no.Text.Trim());
        }

你可能感兴趣的:(object)