Ejemplo n.º 1
0
        private void buttonChiTiet_Click(object sender, EventArgs e)
        {
            this.Hide();
            ChiTietKhoaHoc formChiTietKhoaHoc = new ChiTietKhoaHoc();

            formChiTietKhoaHoc.FormClosed += FormChiTietKhoaHoc_FormClosed;
            formChiTietKhoaHoc.Show();
        }
Ejemplo n.º 2
0
        private void buttonChiTiet_Click(object sender, EventArgs e)
        {
            DataGridViewCellCollection cell = dataGridViewKhoaHocDaoTao.CurrentRow.Cells;

            this.Hide();
            ChiTietKhoaHoc formChiTietKhoaHoc = new ChiTietKhoaHoc(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()));

            formChiTietKhoaHoc.FormClosed += FormChiTietKhoaHoc_FormClosed;
            formChiTietKhoaHoc.Show();
        }