private void 用户管理ToolStripMenuItem_Click_1(object sender, EventArgs e) { this.Hide(); Frm_Useradmin form1 = new Frm_Useradmin(); // Form2为跳转页面的窗体名称 form1.ShowDialog(); }
private void button5_Click(object sender, EventArgs e) { this.Hide(); Frm_Useradmin form1 = new Frm_Useradmin(); // Form2为跳转页面的窗体名称 form1.uid = uid; form1.psw = psw; form1.ser = ser; form1.ShowDialog(); }