Exemplo n.º 1
0
        private void buttonThem_Click(object sender, EventArgs e)
        {
            var formTuyenSinhThem = new FormTuyenSinhThem(id, null);

            formTuyenSinhThem.FormClosing += new FormClosingEventHandler(ChildFormClosing);
            formTuyenSinhThem.ShowDialog();
        }
Exemplo n.º 2
0
        private void buttonSua_Click(object sender, EventArgs e)
        {
            nam = dataGridViewTS.CurrentRow.Cells[2].Value.ToString();
            var formTuyenSinhThem = new FormTuyenSinhThem(id, nam);

            formTuyenSinhThem.FormClosing += new FormClosingEventHandler(ChildFormClosing);
            formTuyenSinhThem.ShowDialog();
        }