《医院管理系统源代码》由会员分享,可在线阅读,更多相关《医院管理系统源代码(34页珍藏版)》请在金锄头文库上搜索。
1、源代码登陆界面源代码: 用户请登录 注册用户 登录 用户名: 密码: 新用户请注册 用户名: 密码: 窗体发生代码:using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Securi
2、ty;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;public partial class logn : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPostBack) Panel1.Visible = false; Panel2.Visible = false; protec
3、ted void LinkButton2_Click(object sender, EventArgs e) Panel1.Visible = true; Panel2.Visible = false; protected void LinkButton1_Click(object sender, EventArgs e) Panel1.Visible = false; Panel2.Visible = true; protected void Button1_Click(object sender, EventArgs e) if (TextBox5.Text = & TextBox6.Text = ) Label1.Text = 欢迎你,登录成功; else Label1.Text = 你输入的用户名错误或密码错误,请重新输入; protected void Button2_Click(object sender, EventArgs e) if (TextBox7.Text = & TextBox8.Text = ) Label2.Text = 欢迎你,注册成功; else Label2.Text = 请输入用户名和密码; 主界面源代码: