//用户管理 private void button_searchUser_Click(object sender, EventArgs e) { FormuserSearch f1 = (FormuserSearch)checkFormsIsOpen("FormuserSearch"); if (f1 == null) { FormuserSearch us = new FormuserSearch(this.Left, this.Top); us.Show(); } else { f1.Activate(); } }
//用户管理 private void button_searchUser_Click(object sender, EventArgs e) { FormuserSearch f1 = (FormuserSearch)checkFormsIsOpen("FormuserSearch"); if (f1 == null) { FormuserSearch us = new FormuserSearch(this.Left, this.Top); us.Show(); } else f1.Activate(); }