public Form8__借阅记录(string a, Form4__用户登录 f) { InitializeComponent(); // id = a; init(); label2.Text = Form1.ID; this.lastform = f; }
private void 个人中心ToolStripMenuItem_Click(object sender, EventArgs e) { Form4__用户登录 a = null; Form10_修改信息 f = new Form10_修改信息(a, this); f.Show(); this.Hide(); //MessageBox.Show("guanli --个人中心"); }
// int flag = 0; public Form10_修改信息(Form4__用户登录 f4, Form5__管理员登入 f5) { InitializeComponent(); //user = a; if (f4 != null) { lastform = f4; } else { last = f5; } }