/// <summary> /// 设置 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SetupPanel_Click(object sender, EventArgs e) { if (SetUp.Function == false) { sp = new SetUp(md); sp.Show(); } else { //获得焦点 sp.Focus(); } }