private void OnEdit()
        {
            _isPrint      = false;
            _ketQuaSoiCTC = null;
            if (dgSoCTC.SelectedRows == null || dgSoCTC.SelectedRows.Count <= 0)
            {
                MsgBox.Show(Application.ProductName, "Vui lòng chọn 1 kết quả soi.", IconType.Information);
                return;
            }

            if (Global.AllowEditKhamCTC && Global.TVHomeConfig.SuDungSoiCTC && !File.Exists(Global.TVHomeConfig.Path))
            {
                MsgBox.Show(Application.ProductName, "Đường dẫn TVHome không tồn tại, vui lòng kiểm tra lại.", IconType.Information);
                return;
            }

            DataRow            drKetQuaSoiCTC = (dgSoCTC.SelectedRows[0].DataBoundItem as DataRowView).Row;
            bool               allowEdit      = _isChuyenBenhAn ? false : Global.AllowEditKhamCTC;
            dlgAddKetQuaSoiCTC dlg            = new dlgAddKetQuaSoiCTC(_patientGUID, drKetQuaSoiCTC, allowEdit);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                _isPrint      = dlg.IsPrint;
                _ketQuaSoiCTC = dlg.KetQuaSoiCTC;
                DisplayAsThread();
            }
        }
        private void OnAdd()
        {
            _isPrint      = false;
            _ketQuaSoiCTC = null;

            if (Global.TVHomeConfig.SuDungSoiCTC && !File.Exists(Global.TVHomeConfig.Path))
            {
                MsgBox.Show(Application.ProductName, "Đường dẫn TVHome không tồn tại, vui lòng kiểm tra lại.", IconType.Information);
                return;
            }

            dlgAddKetQuaSoiCTC dlg = new dlgAddKetQuaSoiCTC(_patientGUID);

            if (dlg.ShowDialog() == DialogResult.OK)
            {
                _isPrint      = dlg.IsPrint;
                _ketQuaSoiCTC = dlg.KetQuaSoiCTC;
                DisplayAsThread();
            }
        }