Пример #1
0
        //用户管理
        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();
            }
        }
Пример #2
0
 //用户管理
 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();
 }