private void 管理员_FormClosed(object sender, FormClosedEventArgs e) { 登陆 a = new 登陆();//新窗体弹窗,旧的隐藏 this.Hide(); a.ShowDialog(); this.Show(); }
private void button5_Click(object sender, EventArgs e) { 登陆 a = new 登陆();//新窗体弹窗,旧的隐藏 this.Hide(); a.ShowDialog(); this.Show(); }
private void 退出登录ToolStripMenuItem_Click(object sender, EventArgs e) { 登陆 a = new 登陆();//新窗体弹窗,旧的隐藏 this.Hide(); a.ShowDialog(); this.Show(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); 登陆 b = new 登陆(); DialogResult result = b.ShowDialog(); if (result == DialogResult.OK) { Application.Run(new 学生()); } //Application.Run(new 学生_个人组队管理()); //Application.Run(new 选择导师()); //Application.Run(new 登陆()); //Application.Run(new 学生_个人信息管理()); //Application.Run(new 学生()); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); 登陆 b = new 登陆(); DialogResult result = b.ShowDialog(); if (result == DialogResult.OK) { Application.Run(new 管理员()); } //Application.Run(new 教师信息管理()); //Application.Run(new 组队情况管理());C:\Users\冯小萍\Desktop\新建文件夹\admin\pick\Program.cs //Application.Run(new 登陆()); //Application.Run(new 密码找回()); //Application.Run(new 学生信息管理()); }