/// <summary> /// 编辑动作参数 /// </summary> /// <param name="sender">事件发送者</param> /// <param name="e">事件参数</param> private void buttonX3_Click(object sender, EventArgs e) { ParameterEditor pForm = new ParameterEditor(conn, textBoxX5.Text); if (pForm.ShowDialog() == DialogResult.OK) { textBoxX5.Text = pForm.NewValue; } }