Пример #1
0
        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;
        }
Пример #2
0
        private void customerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CategoryCustomer categoryCustomer = new CategoryCustomer();

            categoryCustomer.ShowDialog();
        }