Exemple #1
0
        private void setComboBox()
        {
            cbxWorkMan.DataSource    = eLogic.InitComboBox(2);
            cbxWorkMan.DisplayMember = "经办人";
            cbxWorkMan.Text          = "";
            cbxWorkMan.SelectedIndex = -1;

            cbxContactMan.DataSource    = eLogic.InitComboBox(1);
            cbxContactMan.DisplayMember = "联系人";
            cbxContactMan.Text          = "";
            cbxContactMan.SelectedIndex = -1;

            cbxPostCode.DataSource    = eLogic.InitComboBox(3);
            cbxPostCode.DisplayMember = "邮编";
            cbxPostCode.Text          = "";
            cbxPostCode.SelectedIndex = -1;

            cbxNO.DataSource    = eLogic.SearchAll_NO();
            cbxNO.DisplayMember = "no";
            cbxNO.Text          = "";
            cbxNO.SelectedIndex = -1;
        }