Esempio n. 1
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            Form frm_Add = new frm_Add(permissions, GetDepartment(department));

            frm_Add.StartPosition = FormStartPosition.CenterScreen;
            Program.setForm(frm_Add);
            this.Close();
        }
Esempio n. 2
0
        private void btn_A_Create_Click(object sender, EventArgs e)
        {
            table = "tbl_Appointments";
            Form frmAdd = new frm_Add(permissions, table);

            frmAdd.StartPosition = FormStartPosition.CenterScreen;
            Program.setForm(frmAdd);
            this.Close();
        }