private void btn_addCus_Click(object sender, EventArgs e) { CategoryCustomer categoryCustomer = new CategoryCustomer(); categoryCustomer.ShowDialog(); Function.FillCombo("SELECT cusID, cusName FROM Customer", cbb_CusID, "cusID", "cusID"); cbb_CusID.SelectedIndex = -1; }
private void customerToolStripMenuItem_Click(object sender, EventArgs e) { CategoryCustomer categoryCustomer = new CategoryCustomer(); categoryCustomer.ShowDialog(); }