Esempio n. 1
0
        private void btn_Back_Click(object sender, EventArgs e)
        {
            this.Dispose();
            UCManageSubjects uC = new UCManageSubjects(pnl_container, sub_id, isAdmin, lbl_subname);

            cMain.loadUC(pnl_container, uC);
        }
Esempio n. 2
0
        private void dgv_Content_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            var row = dgv_Content.Rows[e.RowIndex].Cells[0].Value.ToString();
            UCManageSubjects uCManageSubjects = new UCManageSubjects(pnl_container, row, isAdmin, lbl_subname);

            cMain.loadUC(pnl_container, uCManageSubjects);
            //MessageBox.Show(row);
        }