示例#1
0
        private void tsb_zhenliao_Click(object sender, EventArgs e)
        {
            string url = "http://daps.doctorai.com.cn";

            Frm.FrmWebBrower webBrower = new Frm.FrmWebBrower(url);
            webBrower.Text = "智能诊疗助手";
            webBrower.Show();
        }
示例#2
0
        private void tsb_xuanjiao_Click(object sender, EventArgs e)
        {
            string url = "http://www.91huayi.com";

            Frm.FrmWebBrower webBrower = new Frm.FrmWebBrower(url);
            webBrower.Text = "智能诊疗助手";
            webBrower.Show();
        }
示例#3
0
        private void toolBar1_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (toolBar1.SelectedIndex == 3 || toolBar1.SelectedIndex == 4)
            {
                string url   = "http://daps.doctorai.com.cn";
                string title = "智能诊疗助手";
                if (toolBar1.SelectedIndex == 3)
                {
                    url   = "http://www.91huayi.com";
                    title = "宣教";
                }
                Frm.FrmWebBrower webBrower = new Frm.FrmWebBrower(url);
                webBrower.Text = title;
                webBrower.Show();
                return;
            }


            foreach (System.Windows.Forms.Control contr in this.panel1.Controls)
            {
                contr.Hide();
            }
            if (toolBar1.SelectedIndex == 0)
            {
                if (this.panel1.Controls["UCArchives"] == null)
                {
                    UCArchives ctl = new UCArchives(this._CurEmployeeInfo.HospitalName, this._CurEmployeeInfo.EmpName,
                                                    this._CurEmployeeInfo.HID, this._CurEmployeeInfo.EmpID);
                    ctl.Dock = DockStyle.Fill;
                    this.panel1.Controls.Add(ctl);
                }
                else
                {
                    UCArchives curArchives = this.panel1.Controls["UCArchives"] as UCArchives;
                    curArchives.SetPartientSource();
                    curArchives.Show();
                }
            }
            else if (toolBar1.SelectedIndex == 1)
            {
                if (this.panel1.Controls["UCSearchArchives"] == null)
                {
                    UCSearchArchives ctl = new UCSearchArchives();
                    ctl.Dock = DockStyle.Fill;
                    this.panel1.Controls.Add(ctl);
                }
                else
                {
                    this.panel1.Controls["UCSearchArchives"].Show();
                }
            }
            else if (toolBar1.SelectedIndex == 2)
            {
                if (this.panel1.Controls["UCSearchProject"] == null)
                {
                    UCSearchProject ctl = new UCSearchProject();
                    ctl.Dock = DockStyle.Fill;
                    this.panel1.Controls.Add(ctl);
                }
                else
                {
                    this.panel1.Controls["UCSearchProject"].Show();
                }
            }
        }