Exemple #1
0
        private void buttonDaoTaoNhanSu_Click(object sender, EventArgs e)
        {
            this.Hide();
            DaoTaoNhanVien formDaoTaoNhanVien = new DaoTaoNhanVien();

            formDaoTaoNhanVien.FormClosed += FormDaoTaoNhanVien_FormClosed;
            formDaoTaoNhanVien.Show();
        }
        private void buttonDaoTaoNhanSu_Click(object sender, EventArgs e)
        {
            DataGridViewCellCollection cell = dataGridViewKhoaHocDaoTao.CurrentRow.Cells;

            this.Hide();
            DaoTaoNhanVien formDaoTaoNhanVien = new DaoTaoNhanVien(new DTO.DaoTao(cell[0].Value.ToString(), DateTime.Parse(cell[1].Value.ToString()), cell[2].Value.ToString(), Int32.Parse(cell[3].Value.ToString()), cell[4].Value.ToString(), decimal.Parse(cell[5].Value.ToString()), cell[6].Value.ToString()));

            formDaoTaoNhanVien.FormClosed += FormDaoTaoNhanVien_FormClosed;
            formDaoTaoNhanVien.Show();
        }