private void 管理员信息录入ToolStripMenuItem_Click(object sender, EventArgs e) { admform1 admform1 = new admform1(); admform1.Owner = this; //this.Visible = false; admform1.ShowDialog(); }
private void btn1_Click(object sender, EventArgs e) { admform1 admform1 = new admform1(); admform1.Owner = this; //this.Visible = false; admform1.ShowDialog(); }