private void toolStripButton7_Click(object sender, EventArgs e) { 登录 form = new 登录(); form.Show(); this.Hide(); }
private void button3_Click(object sender, EventArgs e) { DialogResult myresult; myresult = MessageBox.Show("是否返回上一级", "返回提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information); if (myresult == DialogResult.Yes) { 登录 form = new 登录(); form.Show(); this.Hide(); } else if (myresult == DialogResult.No) { return; } }