private void btn_Cust_Edit_Click(object sender, EventArgs e) { PL.ACC.frm_ACC c = new PL.ACC.frm_ACC(); c.FormBorderStyle = FormBorderStyle.Sizable; c.ShowDialog(); com_ACC.DataSource = g.Select2("Select * from ACC where parent = 0"); com_ACC.SelectedValue = c.txt_ID.Text; }
private void btn_Item_Edit_Click(object sender, EventArgs e) { PL.ACC.frm_ACC i = new PL.ACC.frm_ACC(); i.FormBorderStyle = FormBorderStyle.Sizable; i.ShowDialog(); dt_ACC = jor.Select2(); com_Acc.DataSource = dt_ACC; com_Acc.SelectedValue = i.txt_ID.Text; }