void ChkCustomerByMemNo(string memno) { var blc = new BlCustomer(); blc.GetCustomerByMemno(int.Parse(memno)); if (blc.CustomerRow == null) return; customertype.Enabled = true; _customerno = blc.CustomerRow.CUSTNO; customertype.EditValue = blc.CustomerRow.CUSTOMERTYPE; custcomp.Text = blc.CustomerRow.CUSTCOMP; customername.Text = blc.CustomerRow.CUSTOMERNAME; customerid.Text = blc.CustomerRow.CUSTOMERID; custphone.Text = blc.CustomerRow.PHONE; custmobile.Text = blc.CustomerRow.Mobile; custemail.Text = blc.CustomerRow.EMAIL; custnote.Text = blc.CustomerRow.NOTE; custfixdisc.Checked = blc.CustomerRow.FIXDISC; custfixdiscperc.EditValue = blc.CustomerRow.FIXDISCAMTPER; comboBoxEdit1.SelectedIndex = blc.CustomerRow.PAYTYPE; }