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
{
    /// <summary>
    /// 参数配置
    /// </summary>
    public partial class ParamConfigPage : Form
    {
        /// <summary>
        /// 构造
        /// </summary>
        public ParamConfigPage()
        {
            InitializeComponent();
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ParamConfig_Load(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// 取消按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_Cancel_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
        }
        /// <summary>
        /// 确认按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        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;
            }

           
        }

     
      

    

     
    }
}
