Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            b_add bh = new b_add();

            bh.Show();
            this.Close();
        }
Example #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            b_add ba = new b_add();

            ba.ShowDialog();
            Functions.LoadComboBoxes("SELECT * FROM Customer", comboCustomerName, "CustomerName");
            comboCustomerName.SelectedIndex = comboCustomerName.FindString(ba.customerObj);
        }