init: 潍柴发动机线 中央控制程序 项目首次入库
This commit is contained in:
66
SCADA/Page_Manager/Manager_Config/ParamConfigPage.cs
Normal file
66
SCADA/Page_Manager/Manager_Config/ParamConfigPage.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user