Exemple #1
0
        private void btThemNV_Click(object sender, EventArgs e)
        {
            fmCapNhatTacGia fm = new fmCapNhatTacGia();

            fm.ShowDialog();
            load_dstacgia();
        }
Exemple #2
0
        private void btSuaNV_Click(object sender, EventArgs e)
        {
            string ma; string ten; string gc;

            ma  = gridView_TG.GetRowCellValue(gridView_TG.FocusedRowHandle, "Mã tác giả").ToString();
            ten = gridView_TG.GetRowCellValue(gridView_TG.FocusedRowHandle, "Tên tác giả").ToString();
            gc  = gridView_TG.GetRowCellValue(gridView_TG.FocusedRowHandle, "Ghi chú").ToString();

            fmCapNhatTacGia fm = new fmCapNhatTacGia(ma, ten, gc);

            fm.ShowDialog();
            load_dstacgia();
        }