Пример #1
0
        private void ShowFrom(ArrayList ExamAccessionNum)
        {
            switch (cmb_Type.SelectedIndex)
            {
            case 0:
                QC_Sternum frm_sternum = new QC_Sternum();
                bool       bl          = frm_sternum.InitForm(ExamAccessionNum);
                if (bl)
                {
                    frm_sternum.ShowDialog();
                }

                break;

            case 1:
                QC_Knuckle frm_knuckle = new QC_Knuckle();
                bl = frm_knuckle.InitForm(ExamAccessionNum);
                if (bl)
                {
                    frm_knuckle.ShowDialog();
                }

                break;

            case 2:
                QC_UGI frm_ugi = new QC_UGI();
                bl = frm_ugi.InitForm(ExamAccessionNum);
                if (bl)
                {
                    frm_ugi.ShowDialog();
                }

                break;

            case 3:
                QC_IVP frm_ivp = new QC_IVP();
                bl = frm_ivp.InitForm(ExamAccessionNum);
                if (bl)
                {
                    frm_ivp.ShowDialog();
                }

                break;

            case 4:
                QC_CT frm_ct = new QC_CT();
                bl = frm_ct.InitForm(ExamAccessionNum);
                if (bl)
                {
                    frm_ct.ShowDialog();
                }

                break;

            case 5:
                QC_MRI frm_mri = new QC_MRI();
                bl = frm_mri.InitForm(ExamAccessionNum);
                if (bl)
                {
                    frm_mri.ShowDialog();
                }

                break;

            case 6:
                QC_RY_DIAG_DICT frm_rydtagdict = new QC_RY_DIAG_DICT();
                bl = frm_rydtagdict.InitForm(ExamAccessionNum);
                if (bl)
                {
                    frm_rydtagdict.ShowDialog();
                }

                break;

            default:
                break;
            }
        }
Пример #2
0
        private void btn_Select_Click(object sender, EventArgs e)
        {
            DataGridViewSelectedRowCollection dgvSelRowArray = dgv_study.SelectedRows;

            if (dgvSelRowArray.Count > 10)
            {
                MessageBoxEx.Show("一次选择的记录不能超过10条!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            else
            {
                ArrayList ExamAccessionNum = new ArrayList();
                bool      bl;
                switch (tpArray[2])
                {
                case "正位胸片统计":
                    bl = SelectFilmAndDI(ref ExamAccessionNum);     //去除选中记录中已经统计过的记录

                    QC_Sternum frm_sternum = new QC_Sternum();
                    bl = frm_sternum.InitForm(ExamAccessionNum);
                    if (bl)
                    {
                        frm_sternum.ShowDialog();
                    }

                    break;

                case "膝关节统计":
                    bl = SelectFilmAndDI(ref ExamAccessionNum);

                    QC_Knuckle frm_knuckle = new QC_Knuckle();
                    bl = frm_knuckle.InitForm(ExamAccessionNum);
                    if (bl)
                    {
                        frm_knuckle.ShowDialog();
                    }

                    break;

                case "上消化道统计":
                    bl = SelectFilmAndDI(ref ExamAccessionNum);

                    QC_UGI frm_ugi = new QC_UGI();
                    bl = frm_ugi.InitForm(ExamAccessionNum);
                    if (bl)
                    {
                        frm_ugi.ShowDialog();
                    }

                    break;

                case "静脉肾孟统计":
                    bl = SelectFilmAndDI(ref ExamAccessionNum);

                    QC_IVP frm_ivp = new QC_IVP();
                    bl = frm_ivp.InitForm(ExamAccessionNum);
                    if (bl)
                    {
                        frm_ivp.ShowDialog();
                    }

                    break;

                case "CT统计":
                    bl = SelectCT(ref ExamAccessionNum);

                    QC_CT frm_ct = new QC_CT();
                    bl = frm_ct.InitForm(ExamAccessionNum);
                    if (bl)
                    {
                        frm_ct.ShowDialog();
                    }

                    break;

                case "MRI统计":
                    bl = SelectMRI(ref ExamAccessionNum);

                    QC_MRI frm_mri = new QC_MRI();
                    bl = frm_mri.InitForm(ExamAccessionNum);
                    if (bl)
                    {
                        frm_mri.ShowDialog();
                    }

                    break;

                case "放射诊断统计":
                    bl = SelectRY_DIAG_DICT(ref ExamAccessionNum);

                    QC_RY_DIAG_DICT frm_rydtagdict = new QC_RY_DIAG_DICT();
                    bl = frm_rydtagdict.InitForm(ExamAccessionNum);
                    if (bl)
                    {
                        frm_rydtagdict.ShowDialog();
                    }

                    break;

                case "统计管理":
                    QC_ImageManage frm_imageManage = new QC_ImageManage();
                    frm_imageManage.ShowDialog();

                    break;

                case "科室管理统计":
                    QC_DEPT_MAN_DICT frm_deptmandict = new QC_DEPT_MAN_DICT();
                    frm_deptmandict.ShowDialog();

                    break;

                default:
                    break;
                }
            }
        }