Пример #1
0
        private void 治疗申请ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.listView1.FocusedItem == null && listView2.FocusedItem == null)
            {
                MessageBox.Show("没有选择病人");
                return;
            }
            FrmCureApply fc = new FrmCureApply(patlist, _currentUser.UserID, _currentDept.DeptID);

            fc.ShowDialog();
        }
Пример #2
0
        void OnOutlookBarItemClicked(OutlookBarBand band, OutlookBarItem item)
        {
            if (this.listView1.FocusedItem == null && listView2.FocusedItem == null &&
                (item.Text == "医嘱管理" || item.Text == "检查申请" || item.Text == "检验申请" || item.Text == "治疗申请" || item.Text == "护理信息"))
            {
                MessageBox.Show("请选择病人!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }
            switch (item.Text)
            {
            case "医嘱管理":
                this.Cursor = PublicStaticFun.WaitCursor();
                HIS_ZYDocManager.日常业务.BaseForm form = new BaseForm(patlist, _currentUser.UserID, _currentDept.DeptID);
                form.MdiParent   = this.MdiParent;
                form.WindowState = FormWindowState.Maximized;
                ((GWMHIS.BussinessLogicLayer.Interfaces.IInvokForm) this.Parent.Parent.Parent).AddFormToTabPage(form);
                form.Show();
                this.Cursor = Cursors.Default;
                break;

            case "手术申请":
                if (HIS.ZYDoc_BLL.PatInfo.PatOperation.NotCanUpdate(patlist))      //20100518.0.03  病人定义出院后,不能再进行手术申请
                {
                    MessageBox.Show("该病人已定义出院,不能再进行手术申请");
                    return;
                }
                FrmSsApply fss = new FrmSsApply(patlist, _currentUser.UserID, _currentDept.DeptID);
                fss.ShowDialog();
                break;

            case "手术查询":
                FrmSsQuery fsq = new FrmSsQuery();
                fsq.ShowDialog();
                break;

            case "检验申请":
                FrmTestApply fta = new FrmTestApply(patlist, _currentUser.UserID, _currentDept.DeptID);
                fta.ShowDialog();
                break;

            case "检查申请":
                FrmCheckApply fca = new FrmCheckApply(patlist, _currentUser.UserID, _currentDept.DeptID);
                fca.ShowDialog();
                break;

            case "治疗申请":
                FrmCureApply fc = new FrmCureApply(patlist, _currentUser.UserID, _currentDept.DeptID);
                fc.ShowDialog();
                break;

            case "住院病人信息统计":
                HIS_ZYDocManager.查询统计.FrmPatientInfo rpt = new HIS_ZYDocManager.查询统计.FrmPatientInfo(_currentUser.UserID, _currentDept.DeptID, this.Text);
                rpt.ShowDialog();
                break;

            case "医生工作量统计":
                HIS_ZYDocManager.查询统计.FrmDocWorkQuery work = new HIS_ZYDocManager.查询统计.FrmDocWorkQuery(_currentUser.UserID, _currentDept.DeptID, "");
                work.ShowDialog();
                break;

            case "计算器":
                System.Diagnostics.Process.Start("calc.exe");
                break;

            case "画笔":
                System.Diagnostics.Process.Start("mspaint.exe");
                break;

            case "通讯簿":
                System.Diagnostics.Process.Start("wab.exe");
                break;

            case "记事本":
                System.Diagnostics.Process.Start("notepad.exe");
                break;

            case "写字板":
                System.Diagnostics.Process.Start("wordpad.exe");
                break;

            case "图象处理":
                System.Diagnostics.Process.Start("kodakimg.exe");
                break;

            default:
                break;
            }
            this.Cursor = System.Windows.Forms.Cursors.Arrow;
        }