//下设监视电源参数按钮 private void buttonMontrParam_Click(object sender, EventArgs e) { if (motrParamFromMotr == null || motrParamFromMotr.IsDisposed) { motrParamFromMotr = new MotrParamFromMotr(); } motrParamFromMotr.Show(); motrParamFromMotr.Focus(); }