using MesWork; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MainLineRepair { /// /// 参数配置 /// public partial class ParamConfigPage : Form { /// /// 构造 /// public ParamConfigPage() { InitializeComponent(); } /// /// /// /// /// private void ParamConfig_Load(object sender, EventArgs e) { } /// /// 取消按钮 /// /// /// private void btn_Cancel_Click(object sender, EventArgs e) { DialogResult = DialogResult.Cancel; } /// /// 确认按钮 /// /// /// private void btn_Sure_Click(object sender, EventArgs e) { if (MessageBox.Show("确认修改配置吗?", "修改确认", MessageBoxButtons.YesNo) == DialogResult.Yes) { Temp.mesWorkForm.Visible_SaveLyoutBtn(MesWorkForm.allowDrag = cb_IsAllowUpdateLyout.Checked); DialogResult = DialogResult.OK; } } } }