1 Star 0 Fork 2

funwell/医院在线预约诊疗平台管理

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
frm_admintotol.cs 4.45 KB
一键复制 编辑 原始数据 按行查看 历史
尼莫和可爱多 提交于 2019-01-13 17:49 . 对系统的功能进行完善
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace UI
{
public partial class frm_admintotol : Form
{
public frm_admintotol()
{
InitializeComponent();
}
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
if (treeView1.SelectedNode.Name.ToString() == "admin_doctor")
{
usesUpdate_Form zhu = new usesUpdate_Form();
zhu.TopLevel = false;
zhu.Text = "DoctorForm";
splitContainer1.Panel2.Controls.Add(zhu);
zhu.WindowState = FormWindowState.Maximized;
zhu.Show();
}
if (treeView1.SelectedNode.Name.ToString() == "admin_pswedit")
{
adminpwd pwdedit = new UI.adminpwd();
pwdedit.TopLevel = false;
pwdedit.Text = "pwdedit";
splitContainer1.Panel2.Controls.Add(pwdedit);
pwdedit.WindowState = FormWindowState.Maximized;
pwdedit.Show();
}
if (treeView1.SelectedNode.Name.ToString() == "admin_ks")
{
frm_kslist frm_kslist = new frm_kslist();
frm_kslist.TopLevel = false;
frm_kslist.Text = "frm_kslist";
splitContainer1.Panel2.Controls.Add(frm_kslist);
frm_kslist.WindowState = FormWindowState.Maximized;
frm_kslist.Show();
}
if (treeView1.SelectedNode.Name.ToString() == "admin_br")
{
inHospital_zhiban frm_doctorglpeople = new UI.inHospital_zhiban();
frm_doctorglpeople.TopLevel = false;
frm_doctorglpeople.Text = "DoctorForm";
splitContainer1.Panel2.Controls.Add(frm_doctorglpeople);
frm_doctorglpeople.WindowState = FormWindowState.Maximized;
frm_doctorglpeople.Show();
}
if (treeView1.SelectedNode.Name.ToString() == "zllxgl")
{
frm_adminyycx RegisterTypeForm = new frm_adminyycx();
RegisterTypeForm.TopLevel = false;
RegisterTypeForm.Text = "RegisterTypeForm";
splitContainer1.Panel2.Controls.Add(RegisterTypeForm);
RegisterTypeForm.WindowState = FormWindowState.Maximized;
RegisterTypeForm.Show();
}
if (treeView1.SelectedNode.Name.ToString() == "hbzj")
{
yingyetongji_Form zhu = new yingyetongji_Form();
zhu.TopLevel = false;
zhu.Text = "BalanceForm ";
splitContainer1.Panel2.Controls.Add(zhu);
zhu.WindowState = FormWindowState.Maximized;
zhu.Show();
}
if (treeView1.SelectedNode.Name.ToString() == "admin_zh")
{
InHospitalForm zhu = new InHospitalForm();
zhu.TopLevel = false;
zhu.Text = "frm_adminyycx ";
splitContainer1.Panel2.Controls.Add(zhu);
zhu.WindowState = FormWindowState.Maximized;
zhu.Show();
}
//if (treeView1.SelectedNode.Name.ToString() == "bbtj")
//{
// MyProject.View.CrystalForm CrystalForm = new MyProject.View.CrystalForm();
// CrystalForm.TopLevel = false;
// CrystalForm.Text = "DoctorForm";
// splitContainer1.Panel2.Controls.Add(CrystalForm);
// CrystalForm.WindowState = FormWindowState.Maximized;
// CrystalForm.Show();
//}
}
private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void frm_admintotol_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
//MyProject.frm_userlogin frm_userlogin = new MyProject.frm_userlogin();
//frm_userlogin.Show();
}
private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e)
{
}
private void splitContainer1_Panel2_Paint(object sender, PaintEventArgs e)
{
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/xmuhw/zhenliao.git
[email protected]:xmuhw/zhenliao.git
xmuhw
zhenliao
医院在线预约诊疗平台管理
master

搜索帮助