#002 对分发任务的 数据对象,操作对象,查询,新增,编辑,与删除功能进行开发

This commit is contained in:
HM-CN\zhengxuan.zhang
2025-08-04 16:46:14 +08:00
parent 1857eea8a4
commit 03ee90302f
92 changed files with 6322 additions and 28105 deletions
+169 -126
View File
@@ -1,5 +1,6 @@
using BaseFunction;
using DAL;
using NSAnalysis.Model;
using System;
using System.Drawing;
using System.Windows.Forms;
@@ -8,152 +9,194 @@ using Telerik.WinControls.UI;
namespace NSAnalysis
{
public partial class FAddTolerance : Telerik.WinControls.UI.ShapedForm
{
#region
{
#region
//private TMeasureSQLiteDAL tmdal = new TMeasureSQLiteDAL();
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
private FToleranceSetup gFTS;
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
private FToleranceSetup gFTS;
#endregion
#endregion
#region
#region
private void btn_MouseHover(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(0, 151, 186);
}
private void btn_MouseHover(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(0, 151, 186);
}
private void btn_MouseLeave(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(19, 46, 53);
}
private void btn_MouseLeave(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(19, 46, 53);
}
#endregion
#endregion
public FAddTolerance(FToleranceSetup fts)
{
InitializeComponent();
private void InitLanguage()
{
if (!ConfigDfn.bLanguage)
{
this.Text = "Add Tolerance";
labTitle.Text = "Add Tolerance";
radLabel5.Text = "CNC ID : ";
radLabel2.Text = "CNC Name : ";
radLabel4.Text = "CNC Location : ";
radLabel3.Text = "CNC Type : ";
radLabel7.Text = "CNC IP : ";
radLabel1.Text = "Remark : ";
rbtnOK.Text = "Add";
rbtnCancel.Text = "Cancel";
}
}
gFTS = fts;
}
public FAddTolerance(FToleranceSetup fts)
{
InitializeComponent();
InitLanguage();
gFTS = fts;
}
private void SFAddCNC_Load(object sender, EventArgs e)
{
rddl_ReadType.SelectedIndex = 0;
rddl_Position.SelectedIndex = 0;
rddl_Status.SelectedIndex = 0;
}
private void SFAddCNC_Load(object sender, EventArgs e)
{
rddlDimensionName.SelectedIndex = 0;
}
private void rbtnOK_Click(object sender, EventArgs e)
{
#region
private void rbtnOK_Click(object sender, EventArgs e)
{
#region
string strCarName = rtbCarName.Text.Trim();
string strCarType = rtbCarType.Text.Trim();
string strReadType = rddl_ReadType.Text.Trim();
string strPosition = rddl_Position.Text.Trim();
string strStatus = rddl_Status.Text.Trim();
string strCarType = rtbCarType.Text.Trim();
string strMesPointName = rtbMesPointName.Text.Trim();
if (string.IsNullOrEmpty(rtbCarName.Text.Trim()))
{
MessageBox.Show("车型名称不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
string strDimensionName = rddlDimensionName.Text.Trim();
if (string.IsNullOrEmpty(rtbCarType.Text.Trim()))
{
MessageBox.Show("车身类型不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (string.IsNullOrEmpty(rtbCarType.Text.Trim()))
{
MessageBox.Show("车型代码不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (string.IsNullOrEmpty(rtb_sourceFilePath.Text.Trim()))
{
MessageBox.Show("源文件路径不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (string.IsNullOrEmpty(rtb_targetFilePath.Text.Trim()))
{
MessageBox.Show("目标文件路径不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (string.IsNullOrEmpty(rtbMesPointName.Text.Trim()))
{
MessageBox.Show("测量点位名称不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (string.IsNullOrEmpty(rtbLower.Text.Trim()))
{
MessageBox.Show("下限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (string.IsNullOrEmpty(rtbUpper.Text.Trim()))
{
MessageBox.Show("上限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (!string.IsNullOrEmpty(rtbLower.Text.Trim()))
{
try
{
double dtemp = double.Parse(rtbLower.Text.Trim());
}
catch (Exception)
{
MessageBox.Show("下限值必须是数字,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
}
if (!string.IsNullOrEmpty(rtbUpper.Text.Trim()))
{
try
{
double dtemp = double.Parse(rtbUpper.Text.Trim());
}
catch (Exception)
{
MessageBox.Show("上限值必须是数字,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
}
if (tmdal.CheckMeaPointNameExit(strCarType, strMesPointName, strDimensionName))
{
MessageBox.Show("该车身类型下,已经存在该测量点位名称和尺寸名称,请修改!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
// 对于分发配置,strReadType 进行转换 ,文件内容 对应1 文件名称对应2
if (string.IsNullOrEmpty(strReadType) || (strReadType != "文件内容" && strReadType != "文件名称"))
{
MessageBox.Show("请选择正确的读取类型! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
return;
}
if (strReadType.Equals("文件名称"))
{
strReadType = "2"; // 文件名称
}
else if (strReadType.Equals("文件内容"))
{
strReadType = "1"; // 文件内容
}
#endregion
if (tmdal.CheckTaskExit(strCarName, strCarType, strReadType))
{
MessageBox.Show("该车身类型下,已经存在该测量点位名称和尺寸名称,请修改!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
TToleranceModel ttm = new TToleranceModel();
ttm.CarType = strCarType;
ttm.MeasurePointName = strMesPointName;
ttm.DimensionName = strDimensionName;
ttm.TolLower = double.Parse(rtbLower.Text.Trim());
ttm.TolUpper = double.Parse(rtbUpper.Text.Trim());
ttm.Remark = rtbRemark.Text.Trim();
ttm.CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
return;
}
try
{
tmdal.InsertTTolerance(ttm);
}
catch (Exception ex)
{
MessageBox.Show("添加公差带信息失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
#endregion
MyBase.TraceWriteLine("添加公差带信息失败,原因:" + ex.ToString());
return;
}
//数据转换
if (strPosition.Equals("左侧"))
{
strPosition = "R"; // 左侧
}
else if (strPosition.Equals("右侧"))
{
strPosition = "L"; // 右侧
}
MessageBox.Show("添加公差带信息成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
if(strStatus.Equals("启动"))
{
strStatus = "start"; // 启动
}
else if (strStatus.Equals("停止"))
{
strStatus = "stop"; // 停止
}
gFTS.rtbnSearch_Click(null, null);
}
//添加分发配置
CJLR_TASK_RELEASE cJLR_TASK_RELEASE = new CJLR_TASK_RELEASE();
cJLR_TASK_RELEASE.ModelsName = strCarName;
cJLR_TASK_RELEASE.ModelsCode = strCarType;
cJLR_TASK_RELEASE.Position = strPosition;
cJLR_TASK_RELEASE.SourceFile = rtb_sourceFilePath.Text.Trim();
cJLR_TASK_RELEASE.TargetFile = rtb_targetFilePath.Text.Trim();
cJLR_TASK_RELEASE.ReadType = int.Parse(strReadType);
cJLR_TASK_RELEASE.IsDelete = 1; //默认未删除
private void rbtnCancel_Click(object sender, EventArgs e)
{
this.Close();
}
}
cJLR_TASK_RELEASE.Status = strStatus;
try
{
tmdal.InsertTask(cJLR_TASK_RELEASE);
}
catch (Exception ex)
{
MessageBox.Show("添加分发配置失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
MyBase.TraceWriteLine("添加分发配置失败,原因:" + ex.ToString());
return;
}
MessageBox.Show("添加分发配置成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
gFTS.rtbnSearch_Click(null, null);
}
private void rbtnCancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void btn_sourceFile_Click(object sender, EventArgs e) //原路径
{
// 创建 FolderBrowserDialog 实例
FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog
{
Description = "选择源文件夹"
};
// 显示文件夹浏览对话框
if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
{
// 设置选中的文件夹路径到文本框
rtb_sourceFilePath.Text = folderBrowserDialog.SelectedPath;
}
else
{
// 显示未选择文件夹的提示信息
MessageBox.Show("未选择源文件夹", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
private void btn_targetFile_Click(object sender, EventArgs e) //目标路径
{
// 创建 FolderBrowserDialog 实例
FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog
{
Description = "选择目标文件夹"
};
// 显示文件夹浏览对话框
if (folderBrowserDialog.ShowDialog() == DialogResult.OK)
{
// 设置选中的文件夹路径到文本框
rtb_targetFilePath.Text = folderBrowserDialog.SelectedPath;
}
else
{
// 显示未选择文件夹的提示信息
MessageBox.Show("未选择目标文件夹", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}
}
+513 -420
View File
@@ -28,410 +28,499 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FAddTolerance));
Telerik.WinControls.UI.RadListDataItem radListDataItem1 = new Telerik.WinControls.UI.RadListDataItem();
Telerik.WinControls.UI.RadListDataItem radListDataItem2 = new Telerik.WinControls.UI.RadListDataItem();
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
this.label2 = new System.Windows.Forms.Label();
this.labTitle = new System.Windows.Forms.Label();
this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
this.rtbCarType = new Telerik.WinControls.UI.RadTextBox();
this.rtbMesPointName = new Telerik.WinControls.UI.RadTextBox();
this.rtbUpper = new Telerik.WinControls.UI.RadTextBox();
this.rbtnCancel = new Telerik.WinControls.UI.RadButton();
this.rbtnOK = new Telerik.WinControls.UI.RadButton();
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.rtbLower = new Telerik.WinControls.UI.RadTextBox();
this.rtbRemark = new Telerik.WinControls.UI.RadTextBox();
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
this.rddlDimensionName = new Telerik.WinControls.UI.RadDropDownList();
this.label5 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
this.radTitleBar1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbUpper)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbLower)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbRemark)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rddlDimensionName)).BeginInit();
this.SuspendLayout();
//
// radTitleBar1
//
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FAddTolerance));
Telerik.WinControls.UI.RadListDataItem radListDataItem1 = new Telerik.WinControls.UI.RadListDataItem();
Telerik.WinControls.UI.RadListDataItem radListDataItem2 = new Telerik.WinControls.UI.RadListDataItem();
Telerik.WinControls.UI.RadListDataItem radListDataItem3 = new Telerik.WinControls.UI.RadListDataItem();
Telerik.WinControls.UI.RadListDataItem radListDataItem4 = new Telerik.WinControls.UI.RadListDataItem();
Telerik.WinControls.UI.RadListDataItem radListDataItem5 = new Telerik.WinControls.UI.RadListDataItem();
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
this.label2 = new System.Windows.Forms.Label();
this.labTitle = new System.Windows.Forms.Label();
this.rbtnCancel = new Telerik.WinControls.UI.RadButton();
this.rbtnOK = new Telerik.WinControls.UI.RadButton();
this.btn_targetFile = new Telerik.WinControls.UI.RadButton();
this.btn_sourceFile = new Telerik.WinControls.UI.RadButton();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.rddl_Status = new Telerik.WinControls.UI.RadDropDownList();
this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
this.rddl_Position = new Telerik.WinControls.UI.RadDropDownList();
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
this.rddl_ReadType = new Telerik.WinControls.UI.RadDropDownList();
this.rtb_sourceFilePath = new Telerik.WinControls.UI.RadTextBox();
this.rtb_targetFilePath = new Telerik.WinControls.UI.RadTextBox();
this.rtbCarType = new Telerik.WinControls.UI.RadTextBox();
this.rtbCarName = new Telerik.WinControls.UI.RadTextBox();
this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
this.radTitleBar1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btn_targetFile)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btn_sourceFile)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_Status)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_Position)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_ReadType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtb_sourceFilePath)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtb_targetFilePath)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
this.SuspendLayout();
//
// radTitleBar1
//
this.radTitleBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Controls.Add(this.label2);
this.radTitleBar1.Controls.Add(this.labTitle);
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
this.radTitleBar1.Name = "radTitleBar1";
//
//
//
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Size = new System.Drawing.Size(373, 40);
this.radTitleBar1.TabIndex = 0;
this.radTitleBar1.TabStop = false;
this.radTitleBar1.Text = "添加公差带";
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "添加公差带";
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
//
// label2
//
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.label2.AutoSize = true;
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
this.label2.Location = new System.Drawing.Point(117, -5);
this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15);
this.label2.Size = new System.Drawing.Size(46, 52);
this.label2.TabIndex = 1;
//
// labTitle
//
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.labTitle.AutoSize = true;
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(159, 8);
this.labTitle.Name = "labTitle";
this.labTitle.Size = new System.Drawing.Size(107, 25);
this.labTitle.TabIndex = 0;
this.labTitle.Text = "添加公差带";
//
// radLabel7
//
this.radLabel7.AutoSize = false;
this.radLabel7.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel7.ForeColor = System.Drawing.Color.White;
this.radLabel7.Location = new System.Drawing.Point(4, 219);
this.radLabel7.Name = "radLabel7";
this.radLabel7.Size = new System.Drawing.Size(148, 23);
this.radLabel7.TabIndex = 29;
this.radLabel7.Text = "上限值:";
this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel3
//
this.radLabel3.AutoSize = false;
this.radLabel3.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel3.ForeColor = System.Drawing.Color.White;
this.radLabel3.Location = new System.Drawing.Point(4, 181);
this.radLabel3.Name = "radLabel3";
this.radLabel3.Size = new System.Drawing.Size(148, 23);
this.radLabel3.TabIndex = 28;
this.radLabel3.Text = "下限值:";
this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel4
//
this.radLabel4.AutoSize = false;
this.radLabel4.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel4.ForeColor = System.Drawing.Color.White;
this.radLabel4.Location = new System.Drawing.Point(4, 141);
this.radLabel4.Name = "radLabel4";
this.radLabel4.Size = new System.Drawing.Size(148, 23);
this.radLabel4.TabIndex = 27;
this.radLabel4.Text = "尺寸名称:";
this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel2
//
this.radLabel2.AutoSize = false;
this.radLabel2.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel2.ForeColor = System.Drawing.Color.White;
this.radLabel2.Location = new System.Drawing.Point(4, 101);
this.radLabel2.Name = "radLabel2";
this.radLabel2.Size = new System.Drawing.Size(148, 23);
this.radLabel2.TabIndex = 26;
this.radLabel2.Text = "测量点位名称:";
this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel5
//
this.radLabel5.AutoSize = false;
this.radLabel5.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel5.ForeColor = System.Drawing.Color.White;
this.radLabel5.Location = new System.Drawing.Point(4, 60);
this.radLabel5.Name = "radLabel5";
this.radLabel5.Size = new System.Drawing.Size(148, 23);
this.radLabel5.TabIndex = 25;
this.radLabel5.Text = "车身类型:";
this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// rtbCarType
//
this.rtbCarType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbCarType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarType.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbCarType.ForeColor = System.Drawing.Color.White;
this.rtbCarType.Location = new System.Drawing.Point(158, 60);
this.rtbCarType.Name = "rtbCarType";
this.rtbCarType.Size = new System.Drawing.Size(173, 23);
this.rtbCarType.TabIndex = 1;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarType.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarType.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtbMesPointName
//
this.rtbMesPointName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbMesPointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbMesPointName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbMesPointName.ForeColor = System.Drawing.Color.White;
this.rtbMesPointName.Location = new System.Drawing.Point(158, 101);
this.rtbMesPointName.Name = "rtbMesPointName";
this.rtbMesPointName.Size = new System.Drawing.Size(173, 23);
this.rtbMesPointName.TabIndex = 2;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbMesPointName.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbMesPointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtbUpper
//
this.rtbUpper.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbUpper.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbUpper.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbUpper.ForeColor = System.Drawing.Color.White;
this.rtbUpper.Location = new System.Drawing.Point(158, 218);
this.rtbUpper.MaxLength = 15;
this.rtbUpper.Name = "rtbUpper";
this.rtbUpper.Size = new System.Drawing.Size(173, 23);
this.rtbUpper.TabIndex = 5;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbUpper.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbUpper.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rbtnCancel
//
this.rbtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rbtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.rbtnCancel.Font = new System.Drawing.Font("微软雅黑", 11F);
this.rbtnCancel.ForeColor = System.Drawing.Color.White;
this.rbtnCancel.Location = new System.Drawing.Point(246, 312);
this.rbtnCancel.Name = "rbtnCancel";
this.rbtnCancel.Size = new System.Drawing.Size(85, 30);
this.rbtnCancel.TabIndex = 10;
this.rbtnCancel.Text = "取消";
this.rbtnCancel.Click += new System.EventHandler(this.rbtnCancel_Click);
this.rbtnCancel.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
this.rbtnCancel.MouseHover += new System.EventHandler(this.btn_MouseHover);
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnCancel.GetChildAt(0))).Text = "取消";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCancel.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCancel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// rbtnOK
//
this.rbtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rbtnOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.rbtnOK.Font = new System.Drawing.Font("微软雅黑", 11F);
this.rbtnOK.ForeColor = System.Drawing.Color.White;
this.rbtnOK.Location = new System.Drawing.Point(118, 312);
this.rbtnOK.Name = "rbtnOK";
this.rbtnOK.Size = new System.Drawing.Size(85, 30);
this.rbtnOK.TabIndex = 9;
this.rbtnOK.Text = "添加";
this.rbtnOK.Click += new System.EventHandler(this.rbtnOK_Click);
this.rbtnOK.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
this.rbtnOK.MouseHover += new System.EventHandler(this.btn_MouseHover);
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnOK.GetChildAt(0))).Text = "添加";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 12F);
this.label1.ForeColor = System.Drawing.Color.Red;
this.label1.Location = new System.Drawing.Point(336, 221);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(15, 16);
this.label1.TabIndex = 34;
this.label1.Text = "*";
//
// label3
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("宋体", 12F);
this.label3.ForeColor = System.Drawing.Color.Red;
this.label3.Location = new System.Drawing.Point(336, 184);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(15, 16);
this.label3.TabIndex = 35;
this.label3.Text = "*";
//
// label4
//
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("宋体", 12F);
this.label4.ForeColor = System.Drawing.Color.Red;
this.label4.Location = new System.Drawing.Point(336, 66);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(15, 16);
this.label4.TabIndex = 36;
this.label4.Text = "*";
//
// rtbLower
//
this.rtbLower.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbLower.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbLower.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbLower.ForeColor = System.Drawing.Color.White;
this.rtbLower.Location = new System.Drawing.Point(158, 181);
this.rtbLower.Name = "rtbLower";
this.rtbLower.Size = new System.Drawing.Size(173, 23);
this.rtbLower.TabIndex = 4;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbLower.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbLower.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtbRemark
//
this.rtbRemark.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbRemark.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbRemark.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbRemark.ForeColor = System.Drawing.Color.White;
this.rtbRemark.Location = new System.Drawing.Point(158, 258);
this.rtbRemark.Name = "rtbRemark";
this.rtbRemark.Size = new System.Drawing.Size(173, 23);
this.rtbRemark.TabIndex = 37;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbRemark.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbRemark.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// radLabel1
//
this.radLabel1.AutoSize = false;
this.radLabel1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel1.ForeColor = System.Drawing.Color.White;
this.radLabel1.Location = new System.Drawing.Point(4, 258);
this.radLabel1.Name = "radLabel1";
this.radLabel1.Size = new System.Drawing.Size(148, 23);
this.radLabel1.TabIndex = 38;
this.radLabel1.Text = "备注:";
this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// rddlDimensionName
//
this.rddlDimensionName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rddlDimensionName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rddlDimensionName.DropDownHeight = 50;
this.rddlDimensionName.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.rddlDimensionName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rddlDimensionName.ForeColor = System.Drawing.Color.White;
radListDataItem1.Text = "F";
radListDataItem2.Text = "G";
this.rddlDimensionName.Items.Add(radListDataItem1);
this.rddlDimensionName.Items.Add(radListDataItem2);
this.rddlDimensionName.Location = new System.Drawing.Point(158, 143);
this.rddlDimensionName.Name = "rddlDimensionName";
this.rddlDimensionName.Size = new System.Drawing.Size(173, 23);
this.rddlDimensionName.TabIndex = 39;
((Telerik.WinControls.UI.RadDropDownListElement)(this.rddlDimensionName.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddlDimensionName.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddlDimensionName.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddlDimensionName.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddlDimensionName.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// label5
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("宋体", 12F);
this.label5.ForeColor = System.Drawing.Color.Red;
this.label5.Location = new System.Drawing.Point(337, 108);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(15, 16);
this.label5.TabIndex = 40;
this.label5.Text = "*";
//
// FAddTolerance
//
this.AcceptButton = this.rbtnOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.BorderWidth = 0;
this.ClientSize = new System.Drawing.Size(375, 366);
this.Controls.Add(this.label5);
this.Controls.Add(this.rddlDimensionName);
this.Controls.Add(this.rtbRemark);
this.Controls.Add(this.radLabel1);
this.Controls.Add(this.rtbLower);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label1);
this.Controls.Add(this.rbtnCancel);
this.Controls.Add(this.rbtnOK);
this.Controls.Add(this.rtbUpper);
this.Controls.Add(this.rtbMesPointName);
this.Controls.Add(this.rtbCarType);
this.Controls.Add(this.radLabel7);
this.Controls.Add(this.radLabel3);
this.Controls.Add(this.radLabel4);
this.Controls.Add(this.radLabel2);
this.Controls.Add(this.radLabel5);
this.Controls.Add(this.radTitleBar1);
this.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ForeColor = System.Drawing.Color.White;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FAddTolerance";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "添加公差带";
this.Load += new System.EventHandler(this.SFAddCNC_Load);
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
this.radTitleBar1.ResumeLayout(false);
this.radTitleBar1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbUpper)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbLower)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbRemark)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rddlDimensionName)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
this.radTitleBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Controls.Add(this.label2);
this.radTitleBar1.Controls.Add(this.labTitle);
this.radTitleBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.radTitleBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Location = new System.Drawing.Point(1, 1);
this.radTitleBar1.Name = "radTitleBar1";
//
//
//
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Size = new System.Drawing.Size(631, 40);
this.radTitleBar1.TabIndex = 0;
this.radTitleBar1.TabStop = false;
this.radTitleBar1.Text = "添加公差带";
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "添加公差带";
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).LeftColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).TopColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).RightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).BottomShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(1))).SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default;
//
// label2
//
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.label2.AutoSize = true;
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
this.label2.Location = new System.Drawing.Point(246, -5);
this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15);
this.label2.Size = new System.Drawing.Size(46, 52);
this.label2.TabIndex = 1;
//
// labTitle
//
this.labTitle.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.labTitle.AutoSize = true;
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(288, 8);
this.labTitle.Name = "labTitle";
this.labTitle.Size = new System.Drawing.Size(88, 25);
this.labTitle.TabIndex = 0;
this.labTitle.Text = "添加配置";
//
// rbtnCancel
//
this.rbtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rbtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.rbtnCancel.Font = new System.Drawing.Font("微软雅黑", 11F);
this.rbtnCancel.ForeColor = System.Drawing.Color.White;
this.rbtnCancel.Location = new System.Drawing.Point(524, 374);
this.rbtnCancel.Name = "rbtnCancel";
this.rbtnCancel.Size = new System.Drawing.Size(85, 30);
this.rbtnCancel.TabIndex = 10;
this.rbtnCancel.Text = "取消";
this.rbtnCancel.Click += new System.EventHandler(this.rbtnCancel_Click);
this.rbtnCancel.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
this.rbtnCancel.MouseHover += new System.EventHandler(this.btn_MouseHover);
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnCancel.GetChildAt(0))).Text = "取消";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCancel.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnCancel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// rbtnOK
//
this.rbtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rbtnOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.rbtnOK.Font = new System.Drawing.Font("微软雅黑", 11F);
this.rbtnOK.ForeColor = System.Drawing.Color.White;
this.rbtnOK.Location = new System.Drawing.Point(396, 374);
this.rbtnOK.Name = "rbtnOK";
this.rbtnOK.Size = new System.Drawing.Size(85, 30);
this.rbtnOK.TabIndex = 9;
this.rbtnOK.Text = "添加";
this.rbtnOK.Click += new System.EventHandler(this.rbtnOK_Click);
this.rbtnOK.MouseLeave += new System.EventHandler(this.btn_MouseLeave);
this.rbtnOK.MouseHover += new System.EventHandler(this.btn_MouseHover);
((Telerik.WinControls.UI.RadButtonElement)(this.rbtnOK.GetChildAt(0))).Text = "添加";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// btn_targetFile
//
this.btn_targetFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_targetFile.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.btn_targetFile.Font = new System.Drawing.Font("微软雅黑", 11F);
this.btn_targetFile.ForeColor = System.Drawing.Color.White;
this.btn_targetFile.Location = new System.Drawing.Point(383, 184);
this.btn_targetFile.Name = "btn_targetFile";
this.btn_targetFile.Size = new System.Drawing.Size(50, 30);
this.btn_targetFile.TabIndex = 72;
this.btn_targetFile.Text = "浏览";
this.btn_targetFile.Click += new System.EventHandler(this.btn_targetFile_Click);
((Telerik.WinControls.UI.RadButtonElement)(this.btn_targetFile.GetChildAt(0))).Text = "浏览";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.btn_targetFile.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.btn_targetFile.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// btn_sourceFile
//
this.btn_sourceFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_sourceFile.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.btn_sourceFile.Font = new System.Drawing.Font("微软雅黑", 11F);
this.btn_sourceFile.ForeColor = System.Drawing.Color.White;
this.btn_sourceFile.Location = new System.Drawing.Point(383, 144);
this.btn_sourceFile.Name = "btn_sourceFile";
this.btn_sourceFile.Size = new System.Drawing.Size(50, 30);
this.btn_sourceFile.TabIndex = 71;
this.btn_sourceFile.Text = "浏览";
this.btn_sourceFile.Click += new System.EventHandler(this.btn_sourceFile_Click);
((Telerik.WinControls.UI.RadButtonElement)(this.btn_sourceFile.GetChildAt(0))).Text = "浏览";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.btn_sourceFile.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.btn_sourceFile.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label9.Location = new System.Drawing.Point(451, 183);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(106, 20);
this.label9.TabIndex = 70;
this.label9.Text = "如:K:\\X260R";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label8.Location = new System.Drawing.Point(451, 147);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(58, 20);
this.label8.TabIndex = 69;
this.label8.Text = "如:P:\\";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label7.Location = new System.Drawing.Point(451, 109);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(76, 20);
this.label7.TabIndex = 68;
this.label7.Text = "如:X260";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label6.Location = new System.Drawing.Point(451, 67);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(166, 20);
this.label6.TabIndex = 67;
this.label6.Text = "名称例如:X260R_C11";
//
// rddl_Status
//
this.rddl_Status.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rddl_Status.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rddl_Status.DropDownHeight = 50;
this.rddl_Status.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.rddl_Status.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rddl_Status.ForeColor = System.Drawing.Color.White;
radListDataItem1.Tag = "start";
radListDataItem1.Text = "启动";
radListDataItem2.Tag = "stop";
radListDataItem2.Text = "暂停";
this.rddl_Status.Items.Add(radListDataItem1);
this.rddl_Status.Items.Add(radListDataItem2);
this.rddl_Status.Location = new System.Drawing.Point(194, 305);
this.rddl_Status.Name = "rddl_Status";
this.rddl_Status.Size = new System.Drawing.Size(239, 23);
this.rddl_Status.TabIndex = 66;
((Telerik.WinControls.UI.RadDropDownListElement)(this.rddl_Status.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_Status.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_Status.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_Status.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_Status.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// radLabel6
//
this.radLabel6.AutoSize = false;
this.radLabel6.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel6.ForeColor = System.Drawing.Color.White;
this.radLabel6.Location = new System.Drawing.Point(40, 304);
this.radLabel6.Name = "radLabel6";
this.radLabel6.Size = new System.Drawing.Size(147, 23);
this.radLabel6.TabIndex = 65;
this.radLabel6.Text = "运行状态:";
this.radLabel6.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// rddl_Position
//
this.rddl_Position.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rddl_Position.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rddl_Position.DropDownHeight = 50;
this.rddl_Position.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.rddl_Position.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rddl_Position.ForeColor = System.Drawing.Color.White;
radListDataItem3.Tag = "L";
radListDataItem3.Text = "左侧";
radListDataItem4.Tag = "R";
radListDataItem4.Text = "右侧";
this.rddl_Position.Items.Add(radListDataItem3);
this.rddl_Position.Items.Add(radListDataItem4);
this.rddl_Position.Location = new System.Drawing.Point(194, 265);
this.rddl_Position.Name = "rddl_Position";
this.rddl_Position.Size = new System.Drawing.Size(239, 23);
this.rddl_Position.TabIndex = 64;
((Telerik.WinControls.UI.RadDropDownListElement)(this.rddl_Position.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_Position.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_Position.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_Position.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_Position.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// radLabel1
//
this.radLabel1.AutoSize = false;
this.radLabel1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel1.ForeColor = System.Drawing.Color.White;
this.radLabel1.Location = new System.Drawing.Point(40, 265);
this.radLabel1.Name = "radLabel1";
this.radLabel1.Size = new System.Drawing.Size(147, 23);
this.radLabel1.TabIndex = 63;
this.radLabel1.Text = "车型位置:";
this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// rddl_ReadType
//
this.rddl_ReadType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rddl_ReadType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rddl_ReadType.DropDownHeight = 50;
this.rddl_ReadType.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.rddl_ReadType.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rddl_ReadType.ForeColor = System.Drawing.Color.White;
radListDataItem5.Tag = "2";
radListDataItem5.Text = "文件内容";
this.rddl_ReadType.Items.Add(radListDataItem5);
this.rddl_ReadType.Location = new System.Drawing.Point(194, 221);
this.rddl_ReadType.Name = "rddl_ReadType";
this.rddl_ReadType.Size = new System.Drawing.Size(239, 23);
this.rddl_ReadType.TabIndex = 62;
((Telerik.WinControls.UI.RadDropDownListElement)(this.rddl_ReadType.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_ReadType.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_ReadType.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_ReadType.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_ReadType.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtb_sourceFilePath
//
this.rtb_sourceFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtb_sourceFilePath.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtb_sourceFilePath.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtb_sourceFilePath.ForeColor = System.Drawing.Color.White;
this.rtb_sourceFilePath.Location = new System.Drawing.Point(194, 147);
this.rtb_sourceFilePath.Name = "rtb_sourceFilePath";
this.rtb_sourceFilePath.Size = new System.Drawing.Size(173, 23);
this.rtb_sourceFilePath.TabIndex = 55;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtb_sourceFilePath.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtb_sourceFilePath.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtb_targetFilePath
//
this.rtb_targetFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtb_targetFilePath.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtb_targetFilePath.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtb_targetFilePath.ForeColor = System.Drawing.Color.White;
this.rtb_targetFilePath.Location = new System.Drawing.Point(194, 184);
this.rtb_targetFilePath.MaxLength = 15;
this.rtb_targetFilePath.Name = "rtb_targetFilePath";
this.rtb_targetFilePath.Size = new System.Drawing.Size(173, 23);
this.rtb_targetFilePath.TabIndex = 56;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtb_targetFilePath.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtb_targetFilePath.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtbCarType
//
this.rtbCarType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbCarType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarType.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbCarType.ForeColor = System.Drawing.Color.White;
this.rtbCarType.Location = new System.Drawing.Point(194, 108);
this.rtbCarType.Name = "rtbCarType";
this.rtbCarType.Size = new System.Drawing.Size(239, 23);
this.rtbCarType.TabIndex = 54;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarType.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarType.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtbCarName
//
this.rtbCarName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbCarName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbCarName.ForeColor = System.Drawing.Color.White;
this.rtbCarName.Location = new System.Drawing.Point(194, 67);
this.rtbCarName.Name = "rtbCarName";
this.rtbCarName.Size = new System.Drawing.Size(239, 23);
this.rtbCarName.TabIndex = 53;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarName.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// radLabel7
//
this.radLabel7.AutoSize = false;
this.radLabel7.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel7.ForeColor = System.Drawing.Color.White;
this.radLabel7.Location = new System.Drawing.Point(35, 187);
this.radLabel7.Name = "radLabel7";
this.radLabel7.Size = new System.Drawing.Size(152, 23);
this.radLabel7.TabIndex = 61;
this.radLabel7.Text = "目标文件路径:";
this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel3
//
this.radLabel3.AutoSize = false;
this.radLabel3.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel3.ForeColor = System.Drawing.Color.White;
this.radLabel3.Location = new System.Drawing.Point(40, 148);
this.radLabel3.Name = "radLabel3";
this.radLabel3.Size = new System.Drawing.Size(147, 23);
this.radLabel3.TabIndex = 60;
this.radLabel3.Text = "源文件路径:";
this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel4
//
this.radLabel4.AutoSize = false;
this.radLabel4.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel4.ForeColor = System.Drawing.Color.White;
this.radLabel4.Location = new System.Drawing.Point(40, 226);
this.radLabel4.Name = "radLabel4";
this.radLabel4.Size = new System.Drawing.Size(147, 23);
this.radLabel4.TabIndex = 59;
this.radLabel4.Text = "读取方式:";
this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel2
//
this.radLabel2.AutoSize = false;
this.radLabel2.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel2.ForeColor = System.Drawing.Color.White;
this.radLabel2.Location = new System.Drawing.Point(40, 109);
this.radLabel2.Name = "radLabel2";
this.radLabel2.Size = new System.Drawing.Size(147, 23);
this.radLabel2.TabIndex = 58;
this.radLabel2.Text = "车型代码:";
this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel5
//
this.radLabel5.AutoSize = false;
this.radLabel5.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel5.ForeColor = System.Drawing.Color.White;
this.radLabel5.Location = new System.Drawing.Point(40, 70);
this.radLabel5.Name = "radLabel5";
this.radLabel5.Size = new System.Drawing.Size(147, 23);
this.radLabel5.TabIndex = 57;
this.radLabel5.Text = "车型名称:";
this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// FAddTolerance
//
this.AcceptButton = this.rbtnOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.BorderWidth = 0;
this.ClientSize = new System.Drawing.Size(633, 426);
this.Controls.Add(this.btn_targetFile);
this.Controls.Add(this.btn_sourceFile);
this.Controls.Add(this.label9);
this.Controls.Add(this.label8);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.rddl_Status);
this.Controls.Add(this.radLabel6);
this.Controls.Add(this.rddl_Position);
this.Controls.Add(this.radLabel1);
this.Controls.Add(this.rddl_ReadType);
this.Controls.Add(this.rtb_sourceFilePath);
this.Controls.Add(this.rtb_targetFilePath);
this.Controls.Add(this.rtbCarType);
this.Controls.Add(this.rtbCarName);
this.Controls.Add(this.radLabel7);
this.Controls.Add(this.radLabel3);
this.Controls.Add(this.radLabel4);
this.Controls.Add(this.radLabel2);
this.Controls.Add(this.radLabel5);
this.Controls.Add(this.rbtnCancel);
this.Controls.Add(this.rbtnOK);
this.Controls.Add(this.radTitleBar1);
this.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ForeColor = System.Drawing.Color.White;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FAddTolerance";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "添加公差带";
this.Load += new System.EventHandler(this.SFAddCNC_Load);
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
this.radTitleBar1.ResumeLayout(false);
this.radTitleBar1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btn_targetFile)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btn_sourceFile)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_Status)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_Position)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_ReadType)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtb_sourceFilePath)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtb_targetFilePath)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -440,23 +529,27 @@
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label labTitle;
private Telerik.WinControls.UI.RadLabel radLabel7;
private Telerik.WinControls.UI.RadLabel radLabel3;
private Telerik.WinControls.UI.RadLabel radLabel4;
private Telerik.WinControls.UI.RadLabel radLabel2;
private Telerik.WinControls.UI.RadLabel radLabel5;
private Telerik.WinControls.UI.RadTextBox rtbCarType;
private Telerik.WinControls.UI.RadTextBox rtbMesPointName;
private Telerik.WinControls.UI.RadTextBox rtbUpper;
private Telerik.WinControls.UI.RadButton rbtnCancel;
private Telerik.WinControls.UI.RadButton rbtnOK;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private Telerik.WinControls.UI.RadTextBox rtbLower;
private Telerik.WinControls.UI.RadTextBox rtbRemark;
private Telerik.WinControls.UI.RadLabel radLabel1;
private Telerik.WinControls.UI.RadDropDownList rddlDimensionName;
private System.Windows.Forms.Label label5;
}
private Telerik.WinControls.UI.RadButton btn_targetFile;
private Telerik.WinControls.UI.RadButton btn_sourceFile;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private Telerik.WinControls.UI.RadDropDownList rddl_Status;
private Telerik.WinControls.UI.RadLabel radLabel6;
private Telerik.WinControls.UI.RadDropDownList rddl_Position;
private Telerik.WinControls.UI.RadLabel radLabel1;
private Telerik.WinControls.UI.RadDropDownList rddl_ReadType;
private Telerik.WinControls.UI.RadTextBox rtb_sourceFilePath;
private Telerik.WinControls.UI.RadTextBox rtb_targetFilePath;
private Telerik.WinControls.UI.RadTextBox rtbCarType;
private Telerik.WinControls.UI.RadTextBox rtbCarName;
private Telerik.WinControls.UI.RadLabel radLabel7;
private Telerik.WinControls.UI.RadLabel radLabel3;
private Telerik.WinControls.UI.RadLabel radLabel4;
private Telerik.WinControls.UI.RadLabel radLabel2;
private Telerik.WinControls.UI.RadLabel radLabel5;
}
}
+101 -147
View File
@@ -1,177 +1,131 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using DAL;
using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BaseFunction;
using System.Text.RegularExpressions;
using System.Collections;
using System.IO;
using System.Xml;
using Telerik.WinControls.UI;
using DAL;
namespace NSAnalysis
{
public partial class FEditTolerance : Telerik.WinControls.UI.ShapedForm
{
#region
//private TMeasureSQLiteDAL tmdal = new TMeasureSQLiteDAL();
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
private FToleranceSetup gFTS;
public partial class FEditTolerance : Telerik.WinControls.UI.ShapedForm
{
#region
#endregion
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
#region
private FToleranceSetup gFTS;
private void btn_MouseHover(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(0, 151, 186);
}
#endregion
private void btn_MouseLeave(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(19, 46, 53);
}
#region
#endregion
private void btn_MouseHover(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(0, 151, 186);
}
private void InitLanguage()
{
if (!ConfigDfn.bLanguage)
{
this.Text = "Edit CNC";
labTitle.Text = "Edit CNC";
radLabel5.Text = "CNC ID : ";
radLabel2.Text = "CNC Name : ";
radLabel4.Text = "CNC Location : ";
radLabel3.Text = "CNC Type : ";
radLabel7.Text = "CNC IP : ";
private void btn_MouseLeave(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(19, 46, 53);
}
radLabel1.Text = "Remark : ";
#endregion
rbtnOK.Text = "Edit";
rbtnCancel.Text = "Cancel";
}
}
public FEditTolerance(FToleranceSetup fts)
{
InitializeComponent();
InitLanguage();
gFTS = fts;
}
public FEditTolerance(FToleranceSetup fts)
{
InitializeComponent();
gFTS = fts;
}
private void SFAddCNC_Load(object sender, EventArgs e)
{
rtbCarType.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["CarType"].Value.ToString();
rtbMesPointName.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["MeasurePointName"].Value.ToString();
rddlDimensionName.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["DimensionName"].Value.ToString();
rtbLower.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["TolLower"].Value.ToString();
rtbUpper.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["TolUpper"].Value.ToString();
private void FEditTolerance_Load(object sender, EventArgs e)
{
}
rtbCarName.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["modelsName"].Value.ToString();
rtbCarType.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["modelsCode"].Value.ToString();
rtb_sourceFilePath.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["sourceFile"].Value.ToString();
rtb_targetFilePath.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["targetFile"].Value.ToString();
private void rbtnOK_Click(object sender, EventArgs e)
{
#region
rddl_ReadType.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["readType"].Value.ToString();
rddl_Position.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["position"].Value.ToString();
rddl_Status.Text = gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["status"].Value.ToString();
}
string strCarType = rtbCarType.Text.Trim();
string strMesPointName = rtbMesPointName.Text.Trim();
private void rbtnOK_Click(object sender, EventArgs e)
{
#region
string strDimensionName = rddlDimensionName.Text.Trim();
if (string.IsNullOrEmpty(rtbCarType.Text.Trim()))
{
MessageBox.Show("车身类型不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
string strCarType = rtbCarType.Text.Trim();
//string strMesPointName = rtbMesPointName.Text.Trim();
if (string.IsNullOrEmpty(rtbMesPointName.Text.Trim()))
{
MessageBox.Show("测量点位名称不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (string.IsNullOrEmpty(rtbLower.Text.Trim()))
{
MessageBox.Show("下限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (string.IsNullOrEmpty(rtbUpper.Text.Trim()))
{
MessageBox.Show("上限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
if (!string.IsNullOrEmpty(rtbLower.Text.Trim()))
{
try
{
double dtemp = double.Parse(rtbLower.Text.Trim());
}
catch (Exception)
{
MessageBox.Show("下限值必须是数字,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
}
if (!string.IsNullOrEmpty(rtbUpper.Text.Trim()))
{
try
{
double dtemp = double.Parse(rtbUpper.Text.Trim());
}
catch (Exception)
{
MessageBox.Show("上限值必须是数字,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
}
if (rtbCarType.Text != gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["CarType"].Value.ToString() || rtbMesPointName.Text != gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["MeasurePointName"].Value.ToString() || rddlDimensionName.Text != gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["DimensionName"].Value.ToString())
{
if (tmdal.CheckMeaPointNameExit(strCarType, strMesPointName, strDimensionName))
{
MessageBox.Show("该车身类型下,已经存在该测量点位名称和尺寸名称,请修改!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
//string strDimensionName = rddlDimensionName.Text.Trim();
//if (string.IsNullOrEmpty(rtbCarType.Text.Trim()))
//{
// MessageBox.Show("车身类型不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
// return;
//}
return;
}
}
//if (string.IsNullOrEmpty(rtbMesPointName.Text.Trim()))
//{
// MessageBox.Show("测量点位名称不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
// return;
//}
//if (string.IsNullOrEmpty(rtbLower.Text.Trim()))
//{
// MessageBox.Show("下限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
// return;
//}
//if (string.IsNullOrEmpty(rtbUpper.Text.Trim()))
//{
// MessageBox.Show("上限值不能为空,请重新输入! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
// return;
//}
//if (rtbCarType.Text != gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["CarType"].Value.ToString() || rtbMesPointName.Text != gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["MeasurePointName"].Value.ToString() || rddlDimensionName.Text != gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["DimensionName"].Value.ToString())
//{
// if (tmdal.CheckTaskExit(strCarType, strMesPointName, strDimensionName))
// {
// MessageBox.Show("该车身类型下,已经存在该测量点位名称和尺寸名称,请修改!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
#endregion
// return;
// }
//}
try
{
TToleranceModel ttm = new TToleranceModel();
ttm.Id = int.Parse(gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["Id"].Value.ToString());
ttm.CarType = strCarType;
ttm.MeasurePointName = strMesPointName;
ttm.DimensionName = strDimensionName;
ttm.TolLower = double.Parse(rtbLower.Text.Trim());
ttm.TolUpper = double.Parse(rtbUpper.Text.Trim());
//ttm.Remark = rtbRemark.Text.Trim();
ttm.CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
tmdal.UpdateTTolerance(ttm);
}
catch (Exception ex)
{
MessageBox.Show("修改公差带信息失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
#endregion
return;
}
//try
//{
// TToleranceModel ttm = new TToleranceModel();
// ttm.Id = int.Parse(gFTS.dgvTolList.Rows[gFTS.idgvSelectRowNumber].Cells["Id"].Value.ToString());
// ttm.CarType = strCarType;
// ttm.MeasurePointName = strMesPointName;
// ttm.DimensionName = strDimensionName;
// ttm.TolLower = double.Parse(rtbLower.Text.Trim());
// ttm.TolUpper = double.Parse(rtbUpper.Text.Trim());
// //ttm.Remark = rtbRemark.Text.Trim();
// ttm.CreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
// tmdal.UpdateTTolerance(ttm);
//}
//catch (Exception ex)
//{
// MessageBox.Show("修改公差带信息失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show("修改公差带信息成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
// return;
//}
gFTS.rtbnSearch_Click(null, null);
//MessageBox.Show("修改公差带信息成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
this.Close();
}
//gFTS.rtbnSearch_Click(null, null);
private void rbtnCancel_Click(object sender, EventArgs e)
{
this.Close();
}
}
//this.Close();
}
private void rbtnCancel_Click(object sender, EventArgs e)
{
this.Close();
}
}
}
+323 -327
View File
@@ -34,52 +34,51 @@
Telerik.WinControls.UI.RadListDataItem radListDataItem3 = new Telerik.WinControls.UI.RadListDataItem();
Telerik.WinControls.UI.RadListDataItem radListDataItem4 = new Telerik.WinControls.UI.RadListDataItem();
Telerik.WinControls.UI.RadListDataItem radListDataItem5 = new Telerik.WinControls.UI.RadListDataItem();
Telerik.WinControls.UI.RadListDataItem radListDataItem6 = new Telerik.WinControls.UI.RadListDataItem();
this.radTitleBar1 = new Telerik.WinControls.UI.RadTitleBar();
this.label2 = new System.Windows.Forms.Label();
this.labTitle = new System.Windows.Forms.Label();
this.rbtnCancel = new Telerik.WinControls.UI.RadButton();
this.rbtnOK = new Telerik.WinControls.UI.RadButton();
this.btn_targetFile = new Telerik.WinControls.UI.RadButton();
this.btn_sourceFile = new Telerik.WinControls.UI.RadButton();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.rddl_Status = new Telerik.WinControls.UI.RadDropDownList();
this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
this.rddl_Position = new Telerik.WinControls.UI.RadDropDownList();
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
this.rddl_ReadType = new Telerik.WinControls.UI.RadDropDownList();
this.rtb_sourceFilePath = new Telerik.WinControls.UI.RadTextBox();
this.rtb_targetFilePath = new Telerik.WinControls.UI.RadTextBox();
this.rtbCarType = new Telerik.WinControls.UI.RadTextBox();
this.rtbCarName = new Telerik.WinControls.UI.RadTextBox();
this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
this.rtbCarType = new Telerik.WinControls.UI.RadTextBox();
this.rtbMesPointName = new Telerik.WinControls.UI.RadTextBox();
this.rtbUpper = new Telerik.WinControls.UI.RadTextBox();
this.rbtnCancel = new Telerik.WinControls.UI.RadButton();
this.rbtnOK = new Telerik.WinControls.UI.RadButton();
this.rtbLower = new Telerik.WinControls.UI.RadTextBox();
this.rddlDimensionName = new Telerik.WinControls.UI.RadDropDownList();
this.radDropDownList1 = new Telerik.WinControls.UI.RadDropDownList();
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
this.radDropDownList2 = new Telerik.WinControls.UI.RadDropDownList();
this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.radButton1 = new Telerik.WinControls.UI.RadButton();
this.radButton2 = new Telerik.WinControls.UI.RadButton();
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
this.radTitleBar1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btn_targetFile)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btn_sourceFile)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_Status)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_Position)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_ReadType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtb_sourceFilePath)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtb_targetFilePath)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbUpper)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbLower)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rddlDimensionName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radDropDownList1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radDropDownList2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton2)).BeginInit();
this.SuspendLayout();
//
// radTitleBar1
@@ -98,7 +97,7 @@
//
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Size = new System.Drawing.Size(552, 40);
this.radTitleBar1.Size = new System.Drawing.Size(631, 40);
this.radTitleBar1.TabIndex = 0;
this.radTitleBar1.TabStop = false;
this.radTitleBar1.Text = "修改公差带";
@@ -123,7 +122,7 @@
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.label2.AutoSize = true;
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
this.label2.Location = new System.Drawing.Point(205, -5);
this.label2.Location = new System.Drawing.Point(244, -5);
this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15);
this.label2.Size = new System.Drawing.Size(46, 52);
@@ -135,119 +134,19 @@
this.labTitle.AutoSize = true;
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(247, 8);
this.labTitle.Location = new System.Drawing.Point(286, 8);
this.labTitle.Name = "labTitle";
this.labTitle.Size = new System.Drawing.Size(88, 25);
this.labTitle.TabIndex = 0;
this.labTitle.Text = "修改配置";
//
// radLabel7
//
this.radLabel7.AutoSize = false;
this.radLabel7.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel7.ForeColor = System.Drawing.Color.White;
this.radLabel7.Location = new System.Drawing.Point(4, 178);
this.radLabel7.Name = "radLabel7";
this.radLabel7.Size = new System.Drawing.Size(152, 23);
this.radLabel7.TabIndex = 29;
this.radLabel7.Text = "目标文件路径:";
this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel3
//
this.radLabel3.AutoSize = false;
this.radLabel3.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel3.ForeColor = System.Drawing.Color.White;
this.radLabel3.Location = new System.Drawing.Point(9, 139);
this.radLabel3.Name = "radLabel3";
this.radLabel3.Size = new System.Drawing.Size(147, 23);
this.radLabel3.TabIndex = 28;
this.radLabel3.Text = "源文件路径:";
this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel4
//
this.radLabel4.AutoSize = false;
this.radLabel4.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel4.ForeColor = System.Drawing.Color.White;
this.radLabel4.Location = new System.Drawing.Point(9, 217);
this.radLabel4.Name = "radLabel4";
this.radLabel4.Size = new System.Drawing.Size(147, 23);
this.radLabel4.TabIndex = 27;
this.radLabel4.Text = "读取方式:";
this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel2
//
this.radLabel2.AutoSize = false;
this.radLabel2.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel2.ForeColor = System.Drawing.Color.White;
this.radLabel2.Location = new System.Drawing.Point(9, 100);
this.radLabel2.Name = "radLabel2";
this.radLabel2.Size = new System.Drawing.Size(147, 23);
this.radLabel2.TabIndex = 26;
this.radLabel2.Text = "车型代码:";
this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel5
//
this.radLabel5.AutoSize = false;
this.radLabel5.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel5.ForeColor = System.Drawing.Color.White;
this.radLabel5.Location = new System.Drawing.Point(9, 61);
this.radLabel5.Name = "radLabel5";
this.radLabel5.Size = new System.Drawing.Size(147, 23);
this.radLabel5.TabIndex = 25;
this.radLabel5.Text = "车型名称:";
this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// rtbCarType
//
this.rtbCarType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbCarType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarType.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbCarType.ForeColor = System.Drawing.Color.White;
this.rtbCarType.Location = new System.Drawing.Point(162, 55);
this.rtbCarType.Name = "rtbCarType";
this.rtbCarType.Size = new System.Drawing.Size(173, 23);
this.rtbCarType.TabIndex = 1;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarType.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarType.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtbMesPointName
//
this.rtbMesPointName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbMesPointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbMesPointName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbMesPointName.ForeColor = System.Drawing.Color.White;
this.rtbMesPointName.Location = new System.Drawing.Point(162, 96);
this.rtbMesPointName.Name = "rtbMesPointName";
this.rtbMesPointName.Size = new System.Drawing.Size(173, 23);
this.rtbMesPointName.TabIndex = 2;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbMesPointName.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbMesPointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtbUpper
//
this.rtbUpper.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbUpper.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbUpper.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbUpper.ForeColor = System.Drawing.Color.White;
this.rtbUpper.Location = new System.Drawing.Point(162, 172);
this.rtbUpper.MaxLength = 15;
this.rtbUpper.Name = "rtbUpper";
this.rtbUpper.Size = new System.Drawing.Size(173, 23);
this.rtbUpper.TabIndex = 5;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbUpper.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbUpper.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rbtnCancel
//
this.rbtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rbtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.rbtnCancel.Font = new System.Drawing.Font("微软雅黑", 11F);
this.rbtnCancel.ForeColor = System.Drawing.Color.White;
this.rbtnCancel.Location = new System.Drawing.Point(422, 373);
this.rbtnCancel.Location = new System.Drawing.Point(501, 373);
this.rbtnCancel.Name = "rbtnCancel";
this.rbtnCancel.Size = new System.Drawing.Size(85, 30);
this.rbtnCancel.TabIndex = 10;
@@ -265,7 +164,7 @@
this.rbtnOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.rbtnOK.Font = new System.Drawing.Font("微软雅黑", 11F);
this.rbtnOK.ForeColor = System.Drawing.Color.White;
this.rbtnOK.Location = new System.Drawing.Point(294, 373);
this.rbtnOK.Location = new System.Drawing.Point(373, 373);
this.rbtnOK.Name = "rbtnOK";
this.rbtnOK.Size = new System.Drawing.Size(85, 30);
this.rbtnOK.TabIndex = 9;
@@ -280,184 +179,281 @@
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).InnerColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(48)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rbtnOK.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// rtbLower
// btn_targetFile
//
this.rtbLower.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbLower.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbLower.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbLower.ForeColor = System.Drawing.Color.White;
this.rtbLower.Location = new System.Drawing.Point(162, 135);
this.rtbLower.Name = "rtbLower";
this.rtbLower.Size = new System.Drawing.Size(173, 23);
this.rtbLower.TabIndex = 4;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbLower.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbLower.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.btn_targetFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_targetFile.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.btn_targetFile.Font = new System.Drawing.Font("微软雅黑", 11F);
this.btn_targetFile.ForeColor = System.Drawing.Color.White;
this.btn_targetFile.Location = new System.Drawing.Point(376, 193);
this.btn_targetFile.Name = "btn_targetFile";
this.btn_targetFile.Size = new System.Drawing.Size(50, 30);
this.btn_targetFile.TabIndex = 92;
this.btn_targetFile.Text = "浏览";
((Telerik.WinControls.UI.RadButtonElement)(this.btn_targetFile.GetChildAt(0))).Text = "浏览";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.btn_targetFile.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.btn_targetFile.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// rddlDimensionName
// btn_sourceFile
//
this.rddlDimensionName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rddlDimensionName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rddlDimensionName.DropDownHeight = 50;
this.rddlDimensionName.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.rddlDimensionName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rddlDimensionName.ForeColor = System.Drawing.Color.White;
radListDataItem1.Tag = "1";
radListDataItem1.Text = "文件名称";
radListDataItem2.Tag = "2";
radListDataItem2.Text = "文件内容";
this.rddlDimensionName.Items.Add(radListDataItem1);
this.rddlDimensionName.Items.Add(radListDataItem2);
this.rddlDimensionName.Location = new System.Drawing.Point(162, 209);
this.rddlDimensionName.Name = "rddlDimensionName";
this.rddlDimensionName.Size = new System.Drawing.Size(173, 23);
this.rddlDimensionName.TabIndex = 41;
((Telerik.WinControls.UI.RadDropDownListElement)(this.rddlDimensionName.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddlDimensionName.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddlDimensionName.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddlDimensionName.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddlDimensionName.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.btn_sourceFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_sourceFile.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.btn_sourceFile.Font = new System.Drawing.Font("微软雅黑", 11F);
this.btn_sourceFile.ForeColor = System.Drawing.Color.White;
this.btn_sourceFile.Location = new System.Drawing.Point(376, 153);
this.btn_sourceFile.Name = "btn_sourceFile";
this.btn_sourceFile.Size = new System.Drawing.Size(50, 30);
this.btn_sourceFile.TabIndex = 91;
this.btn_sourceFile.Text = "浏览";
((Telerik.WinControls.UI.RadButtonElement)(this.btn_sourceFile.GetChildAt(0))).Text = "浏览";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.btn_sourceFile.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.btn_sourceFile.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
//
// radDropDownList1
// label9
//
this.radDropDownList1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.radDropDownList1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.radDropDownList1.DropDownHeight = 50;
this.radDropDownList1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.radDropDownList1.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.radDropDownList1.ForeColor = System.Drawing.Color.White;
radListDataItem3.Tag = "L";
radListDataItem3.Text = "左侧";
radListDataItem4.Tag = "R";
radListDataItem4.Text = "右侧";
this.radDropDownList1.Items.Add(radListDataItem3);
this.radDropDownList1.Items.Add(radListDataItem4);
this.radDropDownList1.Location = new System.Drawing.Point(162, 253);
this.radDropDownList1.Name = "radDropDownList1";
this.radDropDownList1.Size = new System.Drawing.Size(173, 23);
this.radDropDownList1.TabIndex = 44;
((Telerik.WinControls.UI.RadDropDownListElement)(this.radDropDownList1.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radDropDownList1.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radDropDownList1.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radDropDownList1.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radDropDownList1.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label9.Location = new System.Drawing.Point(444, 192);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(106, 20);
this.label9.TabIndex = 90;
this.label9.Text = "如:K:\\X260R";
//
// radLabel1
// label8
//
this.radLabel1.AutoSize = false;
this.radLabel1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel1.ForeColor = System.Drawing.Color.White;
this.radLabel1.Location = new System.Drawing.Point(9, 256);
this.radLabel1.Name = "radLabel1";
this.radLabel1.Size = new System.Drawing.Size(147, 23);
this.radLabel1.TabIndex = 43;
this.radLabel1.Text = "车型位置:";
this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label8.Location = new System.Drawing.Point(444, 156);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(58, 20);
this.label8.TabIndex = 89;
this.label8.Text = "如:P:\\";
//
// radDropDownList2
// label7
//
this.radDropDownList2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.radDropDownList2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.radDropDownList2.DropDownHeight = 50;
this.radDropDownList2.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.radDropDownList2.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.radDropDownList2.ForeColor = System.Drawing.Color.White;
radListDataItem5.Tag = "start";
radListDataItem5.Text = "启动";
radListDataItem6.Tag = "stop";
radListDataItem6.Text = "暂停";
this.radDropDownList2.Items.Add(radListDataItem5);
this.radDropDownList2.Items.Add(radListDataItem6);
this.radDropDownList2.Location = new System.Drawing.Point(162, 293);
this.radDropDownList2.Name = "radDropDownList2";
this.radDropDownList2.Size = new System.Drawing.Size(173, 23);
this.radDropDownList2.TabIndex = 46;
((Telerik.WinControls.UI.RadDropDownListElement)(this.radDropDownList2.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radDropDownList2.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radDropDownList2.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radDropDownList2.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radDropDownList2.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label7.Location = new System.Drawing.Point(444, 118);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(76, 20);
this.label7.TabIndex = 88;
this.label7.Text = "如:X260";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label6.Location = new System.Drawing.Point(444, 76);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(166, 20);
this.label6.TabIndex = 87;
this.label6.Text = "名称例如:X260R_C11";
//
// rddl_Status
//
this.rddl_Status.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rddl_Status.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rddl_Status.DropDownHeight = 50;
this.rddl_Status.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.rddl_Status.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rddl_Status.ForeColor = System.Drawing.Color.White;
radListDataItem1.Tag = "start";
radListDataItem1.Text = "启动";
radListDataItem2.Tag = "stop";
radListDataItem2.Text = "暂停";
this.rddl_Status.Items.Add(radListDataItem1);
this.rddl_Status.Items.Add(radListDataItem2);
this.rddl_Status.Location = new System.Drawing.Point(187, 314);
this.rddl_Status.Name = "rddl_Status";
this.rddl_Status.Size = new System.Drawing.Size(239, 23);
this.rddl_Status.TabIndex = 86;
((Telerik.WinControls.UI.RadDropDownListElement)(this.rddl_Status.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_Status.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_Status.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_Status.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_Status.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// radLabel6
//
this.radLabel6.AutoSize = false;
this.radLabel6.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel6.ForeColor = System.Drawing.Color.White;
this.radLabel6.Location = new System.Drawing.Point(9, 295);
this.radLabel6.Location = new System.Drawing.Point(33, 313);
this.radLabel6.Name = "radLabel6";
this.radLabel6.Size = new System.Drawing.Size(147, 23);
this.radLabel6.TabIndex = 45;
this.radLabel6.TabIndex = 85;
this.radLabel6.Text = "运行状态:";
this.radLabel6.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// label6
// rddl_Position
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label6.Location = new System.Drawing.Point(356, 56);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(166, 20);
this.label6.TabIndex = 47;
this.label6.Text = "名称例如:X260R_C11";
this.rddl_Position.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rddl_Position.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rddl_Position.DropDownHeight = 50;
this.rddl_Position.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.rddl_Position.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rddl_Position.ForeColor = System.Drawing.Color.White;
radListDataItem3.Tag = "L";
radListDataItem3.Text = "左侧";
radListDataItem4.Tag = "R";
radListDataItem4.Text = "右侧";
this.rddl_Position.Items.Add(radListDataItem3);
this.rddl_Position.Items.Add(radListDataItem4);
this.rddl_Position.Location = new System.Drawing.Point(187, 274);
this.rddl_Position.Name = "rddl_Position";
this.rddl_Position.Size = new System.Drawing.Size(239, 23);
this.rddl_Position.TabIndex = 84;
((Telerik.WinControls.UI.RadDropDownListElement)(this.rddl_Position.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_Position.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_Position.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_Position.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_Position.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// label7
// radLabel1
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label7.Location = new System.Drawing.Point(356, 98);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(76, 20);
this.label7.TabIndex = 48;
this.label7.Text = "如:X260";
this.radLabel1.AutoSize = false;
this.radLabel1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel1.ForeColor = System.Drawing.Color.White;
this.radLabel1.Location = new System.Drawing.Point(33, 274);
this.radLabel1.Name = "radLabel1";
this.radLabel1.Size = new System.Drawing.Size(147, 23);
this.radLabel1.TabIndex = 83;
this.radLabel1.Text = "车型位置:";
this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// label8
// rddl_ReadType
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label8.Location = new System.Drawing.Point(356, 137);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(58, 20);
this.label8.TabIndex = 49;
this.label8.Text = "如:P:\\";
this.rddl_ReadType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rddl_ReadType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rddl_ReadType.DropDownHeight = 50;
this.rddl_ReadType.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.rddl_ReadType.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rddl_ReadType.ForeColor = System.Drawing.Color.White;
radListDataItem5.Tag = "2";
radListDataItem5.Text = "文件内容";
this.rddl_ReadType.Items.Add(radListDataItem5);
this.rddl_ReadType.Location = new System.Drawing.Point(187, 230);
this.rddl_ReadType.Name = "rddl_ReadType";
this.rddl_ReadType.Size = new System.Drawing.Size(239, 23);
this.rddl_ReadType.TabIndex = 82;
((Telerik.WinControls.UI.RadDropDownListElement)(this.rddl_ReadType.GetChildAt(0))).DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_ReadType.GetChildAt(0).GetChildAt(0))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rddl_ReadType.GetChildAt(0).GetChildAt(0))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_ReadType.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.rddl_ReadType.GetChildAt(0).GetChildAt(2).GetChildAt(1).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// label9
// rtb_sourceFilePath
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label9.Location = new System.Drawing.Point(356, 173);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(106, 20);
this.label9.TabIndex = 50;
this.label9.Text = "如:K:\\X260R";
this.rtb_sourceFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtb_sourceFilePath.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtb_sourceFilePath.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtb_sourceFilePath.ForeColor = System.Drawing.Color.White;
this.rtb_sourceFilePath.Location = new System.Drawing.Point(187, 156);
this.rtb_sourceFilePath.Name = "rtb_sourceFilePath";
this.rtb_sourceFilePath.Size = new System.Drawing.Size(173, 23);
this.rtb_sourceFilePath.TabIndex = 75;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtb_sourceFilePath.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtb_sourceFilePath.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// radButton1
// rtb_targetFilePath
//
this.radButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.radButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.radButton1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radButton1.ForeColor = System.Drawing.Color.White;
this.radButton1.Location = new System.Drawing.Point(353, 208);
this.radButton1.Name = "radButton1";
this.radButton1.Size = new System.Drawing.Size(50, 30);
this.radButton1.TabIndex = 51;
this.radButton1.Text = "浏览";
((Telerik.WinControls.UI.RadButtonElement)(this.radButton1.GetChildAt(0))).Text = "浏览";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
this.rtb_targetFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtb_targetFilePath.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtb_targetFilePath.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtb_targetFilePath.ForeColor = System.Drawing.Color.White;
this.rtb_targetFilePath.Location = new System.Drawing.Point(187, 193);
this.rtb_targetFilePath.MaxLength = 15;
this.rtb_targetFilePath.Name = "rtb_targetFilePath";
this.rtb_targetFilePath.Size = new System.Drawing.Size(173, 23);
this.rtb_targetFilePath.TabIndex = 76;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtb_targetFilePath.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtb_targetFilePath.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// radButton2
// rtbCarType
//
this.radButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.radButton2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.radButton2.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radButton2.ForeColor = System.Drawing.Color.White;
this.radButton2.Location = new System.Drawing.Point(353, 248);
this.radButton2.Name = "radButton2";
this.radButton2.Size = new System.Drawing.Size(50, 30);
this.radButton2.TabIndex = 52;
this.radButton2.Text = "浏览";
((Telerik.WinControls.UI.RadButtonElement)(this.radButton2.GetChildAt(0))).Text = "浏览";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton2.GetChildAt(0).GetChildAt(2))).InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton2.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(151)))), ((int)(((byte)(186)))));
this.rtbCarType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbCarType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarType.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbCarType.ForeColor = System.Drawing.Color.White;
this.rtbCarType.Location = new System.Drawing.Point(187, 117);
this.rtbCarType.Name = "rtbCarType";
this.rtbCarType.Size = new System.Drawing.Size(239, 23);
this.rtbCarType.TabIndex = 74;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarType.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarType.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// rtbCarName
//
this.rtbCarName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.rtbCarName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarName.Font = new System.Drawing.Font("微软雅黑", 9.75F);
this.rtbCarName.ForeColor = System.Drawing.Color.White;
this.rtbCarName.Location = new System.Drawing.Point(187, 76);
this.rtbCarName.Name = "rtbCarName";
this.rtbCarName.Size = new System.Drawing.Size(239, 23);
this.rtbCarName.TabIndex = 73;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarName.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// radLabel7
//
this.radLabel7.AutoSize = false;
this.radLabel7.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel7.ForeColor = System.Drawing.Color.White;
this.radLabel7.Location = new System.Drawing.Point(28, 196);
this.radLabel7.Name = "radLabel7";
this.radLabel7.Size = new System.Drawing.Size(152, 23);
this.radLabel7.TabIndex = 81;
this.radLabel7.Text = "目标文件路径:";
this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel3
//
this.radLabel3.AutoSize = false;
this.radLabel3.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel3.ForeColor = System.Drawing.Color.White;
this.radLabel3.Location = new System.Drawing.Point(33, 157);
this.radLabel3.Name = "radLabel3";
this.radLabel3.Size = new System.Drawing.Size(147, 23);
this.radLabel3.TabIndex = 80;
this.radLabel3.Text = "源文件路径:";
this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel4
//
this.radLabel4.AutoSize = false;
this.radLabel4.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel4.ForeColor = System.Drawing.Color.White;
this.radLabel4.Location = new System.Drawing.Point(33, 235);
this.radLabel4.Name = "radLabel4";
this.radLabel4.Size = new System.Drawing.Size(147, 23);
this.radLabel4.TabIndex = 79;
this.radLabel4.Text = "读取方式:";
this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel2
//
this.radLabel2.AutoSize = false;
this.radLabel2.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel2.ForeColor = System.Drawing.Color.White;
this.radLabel2.Location = new System.Drawing.Point(33, 118);
this.radLabel2.Name = "radLabel2";
this.radLabel2.Size = new System.Drawing.Size(147, 23);
this.radLabel2.TabIndex = 78;
this.radLabel2.Text = "车型代码:";
this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// radLabel5
//
this.radLabel5.AutoSize = false;
this.radLabel5.Font = new System.Drawing.Font("微软雅黑", 11F);
this.radLabel5.ForeColor = System.Drawing.Color.White;
this.radLabel5.Location = new System.Drawing.Point(33, 79);
this.radLabel5.Name = "radLabel5";
this.radLabel5.Size = new System.Drawing.Size(147, 23);
this.radLabel5.TabIndex = 77;
this.radLabel5.Text = "车型名称:";
this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
//
// FEditTolerance
//
@@ -467,29 +463,29 @@
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.BorderWidth = 0;
this.ClientSize = new System.Drawing.Size(554, 426);
this.Controls.Add(this.radButton2);
this.Controls.Add(this.radButton1);
this.ClientSize = new System.Drawing.Size(633, 426);
this.Controls.Add(this.btn_targetFile);
this.Controls.Add(this.btn_sourceFile);
this.Controls.Add(this.label9);
this.Controls.Add(this.label8);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.radDropDownList2);
this.Controls.Add(this.rddl_Status);
this.Controls.Add(this.radLabel6);
this.Controls.Add(this.radDropDownList1);
this.Controls.Add(this.rddl_Position);
this.Controls.Add(this.radLabel1);
this.Controls.Add(this.rddlDimensionName);
this.Controls.Add(this.rtbLower);
this.Controls.Add(this.rbtnCancel);
this.Controls.Add(this.rbtnOK);
this.Controls.Add(this.rtbUpper);
this.Controls.Add(this.rtbMesPointName);
this.Controls.Add(this.rddl_ReadType);
this.Controls.Add(this.rtb_sourceFilePath);
this.Controls.Add(this.rtb_targetFilePath);
this.Controls.Add(this.rtbCarType);
this.Controls.Add(this.rtbCarName);
this.Controls.Add(this.radLabel7);
this.Controls.Add(this.radLabel3);
this.Controls.Add(this.radLabel4);
this.Controls.Add(this.radLabel2);
this.Controls.Add(this.radLabel5);
this.Controls.Add(this.rbtnCancel);
this.Controls.Add(this.rbtnOK);
this.Controls.Add(this.radTitleBar1);
this.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ForeColor = System.Drawing.Color.White;
@@ -499,28 +495,28 @@
this.Name = "FEditTolerance";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "修改公差带";
this.Load += new System.EventHandler(this.SFAddCNC_Load);
this.Load += new System.EventHandler(this.FEditTolerance_Load);
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
this.radTitleBar1.ResumeLayout(false);
this.radTitleBar1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btn_targetFile)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btn_sourceFile)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_Status)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_Position)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rddl_ReadType)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtb_sourceFilePath)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtb_targetFilePath)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarType)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbUpper)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnCancel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rbtnOK)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbLower)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rddlDimensionName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radDropDownList1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radDropDownList2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton2)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -531,27 +527,27 @@
private Telerik.WinControls.UI.RadTitleBar radTitleBar1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label labTitle;
private Telerik.WinControls.UI.RadLabel radLabel7;
private Telerik.WinControls.UI.RadLabel radLabel3;
private Telerik.WinControls.UI.RadLabel radLabel4;
private Telerik.WinControls.UI.RadLabel radLabel2;
private Telerik.WinControls.UI.RadLabel radLabel5;
private Telerik.WinControls.UI.RadTextBox rtbCarType;
private Telerik.WinControls.UI.RadTextBox rtbMesPointName;
private Telerik.WinControls.UI.RadTextBox rtbUpper;
private Telerik.WinControls.UI.RadButton rbtnCancel;
private Telerik.WinControls.UI.RadButton rbtnOK;
private Telerik.WinControls.UI.RadTextBox rtbLower;
private Telerik.WinControls.UI.RadDropDownList rddlDimensionName;
private Telerik.WinControls.UI.RadDropDownList radDropDownList1;
private Telerik.WinControls.UI.RadLabel radLabel1;
private Telerik.WinControls.UI.RadDropDownList radDropDownList2;
private Telerik.WinControls.UI.RadLabel radLabel6;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private Telerik.WinControls.UI.RadButton btn_targetFile;
private Telerik.WinControls.UI.RadButton btn_sourceFile;
private System.Windows.Forms.Label label9;
private Telerik.WinControls.UI.RadButton radButton1;
private Telerik.WinControls.UI.RadButton radButton2;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private Telerik.WinControls.UI.RadDropDownList rddl_Status;
private Telerik.WinControls.UI.RadLabel radLabel6;
private Telerik.WinControls.UI.RadDropDownList rddl_Position;
private Telerik.WinControls.UI.RadLabel radLabel1;
private Telerik.WinControls.UI.RadDropDownList rddl_ReadType;
private Telerik.WinControls.UI.RadTextBox rtb_sourceFilePath;
private Telerik.WinControls.UI.RadTextBox rtb_targetFilePath;
private Telerik.WinControls.UI.RadTextBox rtbCarType;
private Telerik.WinControls.UI.RadTextBox rtbCarName;
private Telerik.WinControls.UI.RadLabel radLabel7;
private Telerik.WinControls.UI.RadLabel radLabel3;
private Telerik.WinControls.UI.RadLabel radLabel4;
private Telerik.WinControls.UI.RadLabel radLabel2;
private Telerik.WinControls.UI.RadLabel radLabel5;
}
}
+177 -122
View File
@@ -1,144 +1,199 @@
using System;
using DAL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using System.Collections;
using System.IO;
using System.Xml;
using Telerik.WinControls.UI;
using DAL;
namespace NSAnalysis
{
public partial class FToleranceSetup : Telerik.WinControls.UI.ShapedForm
{
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
public int idgvSelectRowNumber = 0;
public partial class FToleranceSetup : Telerik.WinControls.UI.ShapedForm
{
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
public int idgvSelectRowNumber = 0;
#region
#region
private void btn_MouseHover(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(0, 151, 186);
}
private void btn_MouseHover(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(0, 151, 186);
}
private void btn_MouseLeave(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(19, 46, 53);
}
private void btn_MouseLeave(object sender, EventArgs e)
{
RadButton btn = sender as RadButton;
btn.BackColor = Color.FromArgb(19, 46, 53);
}
#endregion
#endregion
public FToleranceSetup()
{
InitializeComponent();
}
public FToleranceSetup()
{
InitializeComponent();
InitStatusComboBox();
SQLHelper.connStr = DatabaseDfn.SqlConnectStr();
}
private void FToleranceSetup_Load(object sender, EventArgs e)
{
dgvTolList.ColumnHeadersDefaultCellStyle.Font = new Font("Segoe UI", 10, FontStyle.Regular);
lpcAddTol.labPicture.Click += lpcAddTol_Click;
lpcAddTol.labText.Click += lpcAddTol_Click;
rtbnSearch_Click(null, null);
}
private void FToleranceSetup_Load(object sender, EventArgs e)
{
dgvTolList.ColumnHeadersDefaultCellStyle.Font = new Font("Segoe UI", 10, FontStyle.Regular);
lpcAddTol.labPicture.Click += lpcAddTol_Click;
lpcAddTol.labText.Click += lpcAddTol_Click;
rtbnSearch_Click(null, null);
}
public void rtbnSearch_Click(object sender, EventArgs e)
{
//DataTable dt = tmdal.SelectAllToleranceByCondition(rtbCarModel.Text.Trim(), rtbMesPointName.Text.Trim(), rtbDimensionName.Text.Trim());
// 初始化ComboBox数据源
private void InitStatusComboBox()
{
var statusList = new List<KeyValuePair<string, string>>();
statusList.Add(new KeyValuePair<string, string>("全部", "all"));
statusList.Add(new KeyValuePair<string, string>("启动", "start"));
statusList.Add(new KeyValuePair<string, string>("停止", "stop"));
//if (dt.Rows.Count > 0)
//{
// dgvTolList.DataSource = dt;
// SetdgvRowBgColor(dgvTolList);
// labSearchResult.Visible = false;
//}
//else
//{
// dgvTolList.DataSource = dt;
// labSearchResult.Visible = true;
//}
}
CB_TaskStatus.DataSource = statusList;
CB_TaskStatus.DisplayMember = "Key";
CB_TaskStatus.ValueMember = "Value";
/// <summary>
/// 设置DataGridView各行变色
/// </summary>
/// <param name="dgv">DataGridView</param>
public void SetdgvRowBgColor(DataGridView dgv)
{
if (dgv.Rows.Count > 0)
{
foreach (DataGridViewRow item in dgv.Rows)
{
if (item.Index % 2 == 0)
{
item.DefaultCellStyle.BackColor = Color.FromArgb(19, 46, 53);
}
else
{
item.DefaultCellStyle.BackColor = Color.FromArgb(27, 60, 68);
}
}
}
}
// 设置默认选中项为“全部”
}
private void dgvTolList_RowStateChanged(object sender, DataGridViewRowStateChangedEventArgs e)
{
e.Row.HeaderCell.Value = string.Format("{0}", e.Row.Index + 1);
}
// 获取选中状态值
private string GetSelectedStatus()
{
if (CB_TaskStatus.SelectedIndex < 0)
return string.Empty;
private void lpcAddTol_Click(object sender, EventArgs e)
{
FAddTolerance fat = new FAddTolerance(this);
fat.ShowDialog(this);
}
return CB_TaskStatus.SelectedValue.ToString();
}
private void dgvTolList_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
string buttonText = "";
if (e.RowIndex < 0 || e.ColumnIndex < 0)
{
return;
}
try
{
buttonText = dgvTolList.Columns[e.ColumnIndex].HeaderText;
}
catch (Exception)
{
buttonText = " ";
}
if (buttonText == "删除")
{
if (DialogResult.Yes == MessageBox.Show("您确定要删除该条公差带信息吗,注意:删除后不可恢复!", "警告", MessageBoxButtons.YesNo, MessageBoxIcon.Warning))
{
string iObjIDPk = dgvTolList.Rows[e.RowIndex].Cells["Id"].Value.ToString();
try
{
tmdal.DeleteOneTolerance(iObjIDPk);
}
catch (Exception ex)
{
MessageBox.Show("删除公差带信息失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
MessageBox.Show("删除公差带信息成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
rtbnSearch_Click(null, null);
}
}
public void rtbnSearch_Click(object sender, EventArgs e)
{
DataTable dt = tmdal.SelectTaskByCondition(rtbCarName.Text.Trim(), rtbCarModel.Text.Trim(), GetSelectedStatus());
if (buttonText == "修改" || buttonText == "Edit")
{
idgvSelectRowNumber = e.RowIndex;
FEditTolerance sfeditcnc = new FEditTolerance(this);
sfeditcnc.ShowDialog();
}
}
}
if (dt.Rows.Count > 0)
{
dgvTolList.AutoGenerateColumns = false;
dgvTolList.DataSource = dt;
SetdgvRowBgColor(dgvTolList);
labSearchResult.Visible = false;
}
else
{
dgvTolList.AutoGenerateColumns = false;
dgvTolList.DataSource = dt;
labSearchResult.Visible = true;
}
}
/// <summary>
/// 设置DataGridView各行变色
/// </summary>
/// <param name="dgv">DataGridView</param>
public void SetdgvRowBgColor(DataGridView dgv)
{
if (dgv.Rows.Count > 0)
{
foreach (DataGridViewRow item in dgv.Rows)
{
if (item.Index % 2 == 0)
{
item.DefaultCellStyle.BackColor = Color.FromArgb(19, 46, 53);
}
else
{
item.DefaultCellStyle.BackColor = Color.FromArgb(27, 60, 68);
}
}
}
}
private void dgvTolList_RowStateChanged(object sender, DataGridViewRowStateChangedEventArgs e)
{
e.Row.HeaderCell.Value = string.Format("{0}", e.Row.Index + 1);
}
private void lpcAddTol_Click(object sender, EventArgs e)
{
FAddTolerance fat = new FAddTolerance(this);
fat.ShowDialog(this);
}
private void dgvTolList_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
string buttonText = "";
if (e.RowIndex < 0 || e.ColumnIndex < 0)
{
return;
}
try
{
buttonText = dgvTolList.Columns[e.ColumnIndex].HeaderText;
}
catch (Exception)
{
buttonText = " ";
}
if (buttonText == "删除")
{
if (DialogResult.Yes == MessageBox.Show("您确定要删除该条分发配置吗,注意:删除后不可恢复!", "警告", MessageBoxButtons.YesNo, MessageBoxIcon.Warning))
{
string modelName = dgvTolList.Rows[e.RowIndex].Cells["modelsName"].Value.ToString();
string modelsCode = dgvTolList.Rows[e.RowIndex].Cells["modelsCode"].Value.ToString();
if (string.IsNullOrEmpty(modelsCode) || string.IsNullOrEmpty(modelName))
{
MessageBox.Show("分发配置代码或名称不能为空,无法删除!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
try
{
tmdal.UpdateIsDelete(modelName,modelsCode);
}
catch (Exception ex)
{
MessageBox.Show("删除分发配置失败,原因:" + ex.ToString(), "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
MessageBox.Show("删除分发配置成功! ", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
rtbnSearch_Click(null, null);
}
}
if (buttonText == "修改" || buttonText == "Edit")
{
idgvSelectRowNumber = e.RowIndex;
FEditTolerance sfeditcnc = new FEditTolerance(this);
sfeditcnc.ShowDialog();
}
}
private void dgvTolList_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (dgvTolList.Columns
.Cast<DataGridViewColumn>()
.Any(c => c.DataPropertyName == "status" && c.Index == e.ColumnIndex))
{
switch (e.Value.ToString())
{
case "start": e.Value = "启动"; break;
case "stop": e.Value = "停止"; break;
}
}
if (dgvTolList.Columns
.Cast<DataGridViewColumn>()
.Any(c => c.DataPropertyName == "readType" && c.Index == e.ColumnIndex))
{
switch (e.Value.ToString())
{
case "1": e.Value = "文件名称"; break;
case "2": e.Value = "文件内容"; break;
}
}
}
}
}
+119 -100
View File
@@ -39,23 +39,25 @@ namespace NSAnalysis
this.labTitle = new System.Windows.Forms.Label();
this.dgvTolList = new System.Windows.Forms.DataGridView();
this.radGroupBox7 = new Telerik.WinControls.UI.RadGroupBox();
this.CB_TaskStatus = new System.Windows.Forms.ComboBox();
this.rtbnSearch = new Telerik.WinControls.UI.RadButton();
this.label3 = new System.Windows.Forms.Label();
this.rtbMesPointName = new Telerik.WinControls.UI.RadTextBox();
this.label1 = new System.Windows.Forms.Label();
this.rtbCarModel = new Telerik.WinControls.UI.RadTextBox();
this.label1 = new System.Windows.Forms.Label();
this.rtbCarName = new Telerik.WinControls.UI.RadTextBox();
this.label15 = new System.Windows.Forms.Label();
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
this.lpcAddTol = new UserControlClass.LabPictureControl();
this.labSearchResult = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CarType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MeasurePointName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.modelsName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.modelsCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DimensionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TolLower = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TolUpper = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.sourceFile = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.targetFile = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Status = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.readType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CNCEdit = new System.Windows.Forms.DataGridViewImageColumn();
this.CNCDelete = new System.Windows.Forms.DataGridViewImageColumn();
@@ -65,8 +67,8 @@ namespace NSAnalysis
((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).BeginInit();
this.radGroupBox7.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rtbnSearch)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarModel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarName)).BeginInit();
this.SuspendLayout();
//
// radTitleBar1
@@ -85,11 +87,11 @@ namespace NSAnalysis
//
this.radTitleBar1.RootElement.ApplyShapeToControl = true;
this.radTitleBar1.RootElement.BorderHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.radTitleBar1.Size = new System.Drawing.Size(930, 40);
this.radTitleBar1.Size = new System.Drawing.Size(1112, 40);
this.radTitleBar1.TabIndex = 0;
this.radTitleBar1.TabStop = false;
this.radTitleBar1.Text = "公差带设置";
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "公差带设置";
this.radTitleBar1.Text = "文件分发设置";
((Telerik.WinControls.UI.RadTitleBarElement)(this.radTitleBar1.GetChildAt(0))).Text = "文件分发设置";
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
@@ -110,7 +112,7 @@ namespace NSAnalysis
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.label2.AutoSize = true;
this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
this.label2.Location = new System.Drawing.Point(367, -5);
this.label2.Location = new System.Drawing.Point(458, -5);
this.label2.Name = "label2";
this.label2.Padding = new System.Windows.Forms.Padding(23, 15, 23, 15);
this.label2.Size = new System.Drawing.Size(46, 52);
@@ -122,11 +124,11 @@ namespace NSAnalysis
this.labTitle.AutoSize = true;
this.labTitle.Font = new System.Drawing.Font("微软雅黑", 14F);
this.labTitle.ForeColor = System.Drawing.Color.White;
this.labTitle.Location = new System.Drawing.Point(409, 8);
this.labTitle.Location = new System.Drawing.Point(500, 8);
this.labTitle.Name = "labTitle";
this.labTitle.Size = new System.Drawing.Size(88, 25);
this.labTitle.Size = new System.Drawing.Size(126, 25);
this.labTitle.TabIndex = 0;
this.labTitle.Text = "分发设置";
this.labTitle.Text = "文件分发设置";
//
// dgvTolList
//
@@ -151,11 +153,13 @@ namespace NSAnalysis
this.dgvTolList.ColumnHeadersHeight = 40;
this.dgvTolList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.CarType,
this.MeasurePointName,
this.modelsName,
this.modelsCode,
this.DimensionName,
this.TolLower,
this.TolUpper,
this.sourceFile,
this.targetFile,
this.Status,
this.readType,
this.CreateTime,
this.CNCEdit,
this.CNCDelete});
@@ -181,9 +185,10 @@ namespace NSAnalysis
this.dgvTolList.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvTolList.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Segoe UI", 11F);
this.dgvTolList.RowTemplate.Height = 40;
this.dgvTolList.Size = new System.Drawing.Size(887, 775);
this.dgvTolList.Size = new System.Drawing.Size(1069, 775);
this.dgvTolList.TabIndex = 17;
this.dgvTolList.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvTolList_CellContentClick);
this.dgvTolList.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvTolList_CellFormatting);
this.dgvTolList.RowStateChanged += new System.Windows.Forms.DataGridViewRowStateChangedEventHandler(this.dgvTolList_RowStateChanged);
//
// radGroupBox7
@@ -191,12 +196,12 @@ namespace NSAnalysis
this.radGroupBox7.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
this.radGroupBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.radGroupBox7.Controls.Add(this.comboBox1);
this.radGroupBox7.Controls.Add(this.CB_TaskStatus);
this.radGroupBox7.Controls.Add(this.rtbnSearch);
this.radGroupBox7.Controls.Add(this.label3);
this.radGroupBox7.Controls.Add(this.rtbMesPointName);
this.radGroupBox7.Controls.Add(this.label1);
this.radGroupBox7.Controls.Add(this.rtbCarModel);
this.radGroupBox7.Controls.Add(this.label1);
this.radGroupBox7.Controls.Add(this.rtbCarName);
this.radGroupBox7.Controls.Add(this.label15);
this.radGroupBox7.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.radGroupBox7.HeaderAlignment = Telerik.WinControls.UI.HeaderAlignment.Center;
@@ -207,7 +212,7 @@ namespace NSAnalysis
//
//
this.radGroupBox7.RootElement.ShadowDepth = 2;
this.radGroupBox7.Size = new System.Drawing.Size(749, 94);
this.radGroupBox7.Size = new System.Drawing.Size(931, 94);
this.radGroupBox7.TabIndex = 456;
this.radGroupBox7.Text = "查询条件";
((Telerik.WinControls.UI.RadGroupBoxElement)(this.radGroupBox7.GetChildAt(0))).HeaderAlignment = Telerik.WinControls.UI.HeaderAlignment.Center;
@@ -228,6 +233,19 @@ namespace NSAnalysis
((Telerik.WinControls.Primitives.TextPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radGroupBox7.GetChildAt(0).GetChildAt(2).GetChildAt(1))).BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Solid;
//
// CB_TaskStatus
//
this.CB_TaskStatus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.CB_TaskStatus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.CB_TaskStatus.Font = new System.Drawing.Font("Segoe UI", 12F);
this.CB_TaskStatus.ForeColor = System.Drawing.Color.White;
this.CB_TaskStatus.FormattingEnabled = true;
this.CB_TaskStatus.ItemHeight = 21;
this.CB_TaskStatus.Location = new System.Drawing.Point(447, 52);
this.CB_TaskStatus.Name = "CB_TaskStatus";
this.CB_TaskStatus.Size = new System.Drawing.Size(140, 29);
this.CB_TaskStatus.TabIndex = 459;
//
// rtbnSearch
//
this.rtbnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
@@ -271,17 +289,17 @@ namespace NSAnalysis
this.label3.TabIndex = 459;
this.label3.Text = "运行状态:";
//
// rtbMesPointName
// rtbCarModel
//
this.rtbMesPointName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbMesPointName.Font = new System.Drawing.Font("Segoe UI", 12F);
this.rtbMesPointName.ForeColor = System.Drawing.Color.White;
this.rtbMesPointName.Location = new System.Drawing.Point(237, 52);
this.rtbMesPointName.Name = "rtbMesPointName";
this.rtbMesPointName.Size = new System.Drawing.Size(140, 27);
this.rtbMesPointName.TabIndex = 458;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbMesPointName.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbMesPointName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarModel.Font = new System.Drawing.Font("Segoe UI", 12F);
this.rtbCarModel.ForeColor = System.Drawing.Color.White;
this.rtbCarModel.Location = new System.Drawing.Point(237, 52);
this.rtbCarModel.Name = "rtbCarModel";
this.rtbCarModel.Size = new System.Drawing.Size(140, 27);
this.rtbCarModel.TabIndex = 458;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarModel.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarModel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// label1
//
@@ -294,17 +312,17 @@ namespace NSAnalysis
this.label1.TabIndex = 457;
this.label1.Text = "车型代码:";
//
// rtbCarModel
// rtbCarName
//
this.rtbCarModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarModel.Font = new System.Drawing.Font("Segoe UI", 12F);
this.rtbCarModel.ForeColor = System.Drawing.Color.White;
this.rtbCarModel.Location = new System.Drawing.Point(42, 52);
this.rtbCarModel.Name = "rtbCarModel";
this.rtbCarModel.Size = new System.Drawing.Size(140, 27);
this.rtbCarModel.TabIndex = 456;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarModel.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarModel.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.rtbCarName.Font = new System.Drawing.Font("Segoe UI", 12F);
this.rtbCarName.ForeColor = System.Drawing.Color.White;
this.rtbCarName.Location = new System.Drawing.Point(42, 52);
this.rtbCarName.Name = "rtbCarName";
this.rtbCarName.Size = new System.Drawing.Size(140, 27);
this.rtbCarName.TabIndex = 456;
((Telerik.WinControls.UI.RadTextBoxElement)(this.rtbCarName.GetChildAt(0))).Text = "";
((Telerik.WinControls.Primitives.BorderPrimitive)(this.rtbCarName.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
//
// label15
//
@@ -357,29 +375,13 @@ namespace NSAnalysis
this.labSearchResult.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.labSearchResult.Font = new System.Drawing.Font("Segoe UI", 12F);
this.labSearchResult.ForeColor = System.Drawing.Color.Red;
this.labSearchResult.Location = new System.Drawing.Point(240, 465);
this.labSearchResult.Location = new System.Drawing.Point(331, 465);
this.labSearchResult.Name = "labSearchResult";
this.labSearchResult.Size = new System.Drawing.Size(452, 21);
this.labSearchResult.TabIndex = 457;
this.labSearchResult.Text = "查询完毕,未查询到任何结果,请检查查询条件是否正确!";
this.labSearchResult.Visible = false;
//
// comboBox1
//
this.comboBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.comboBox1.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.comboBox1.FormattingEnabled = true;
this.comboBox1.ItemHeight = 19;
this.comboBox1.Items.AddRange(new object[] {
"全部",
"启动",
"暂停"});
this.comboBox1.Location = new System.Drawing.Point(447, 52);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(140, 27);
this.comboBox1.TabIndex = 459;
//
// Id
//
this.Id.DataPropertyName = "Id";
@@ -389,53 +391,68 @@ namespace NSAnalysis
this.Id.Visible = false;
this.Id.Width = 45;
//
// CarType
// modelsName
//
this.CarType.DataPropertyName = "CarType";
this.CarType.HeaderText = "车型名称";
this.CarType.Name = "CarType";
this.CarType.ReadOnly = true;
this.CarType.Width = 65;
this.modelsName.DataPropertyName = "modelsName";
this.modelsName.HeaderText = "车型名称";
this.modelsName.Name = "modelsName";
this.modelsName.ReadOnly = true;
this.modelsName.Width = 65;
//
// MeasurePointName
// modelsCode
//
this.MeasurePointName.DataPropertyName = "MeasurePointName";
this.MeasurePointName.HeaderText = "车型代码";
this.MeasurePointName.Name = "MeasurePointName";
this.MeasurePointName.ReadOnly = true;
this.MeasurePointName.Width = 65;
this.modelsCode.DataPropertyName = "modelsCode";
this.modelsCode.HeaderText = "车型代码";
this.modelsCode.Name = "modelsCode";
this.modelsCode.ReadOnly = true;
this.modelsCode.Width = 65;
//
// DimensionName
//
this.DimensionName.DataPropertyName = "DimensionName";
this.DimensionName.DataPropertyName = "position";
this.DimensionName.HeaderText = "车型位置";
this.DimensionName.Name = "DimensionName";
this.DimensionName.ReadOnly = true;
this.DimensionName.Width = 65;
//
// TolLower
// sourceFile
//
this.TolLower.DataPropertyName = "TolLower";
this.TolLower.HeaderText = "运行状态";
this.TolLower.Name = "TolLower";
this.TolLower.ReadOnly = true;
this.TolLower.Width = 65;
this.sourceFile.DataPropertyName = "sourceFile";
this.sourceFile.HeaderText = "源路径";
this.sourceFile.Name = "sourceFile";
this.sourceFile.ReadOnly = true;
this.sourceFile.Width = 65;
//
// TolUpper
// targetFile
//
this.TolUpper.DataPropertyName = "TolUpper";
this.TolUpper.HeaderText = "读取方式";
this.TolUpper.Name = "TolUpper";
this.TolUpper.ReadOnly = true;
this.TolUpper.Width = 65;
this.targetFile.DataPropertyName = "targetFile";
this.targetFile.HeaderText = "目标路径";
this.targetFile.Name = "targetFile";
this.targetFile.ReadOnly = true;
this.targetFile.Width = 65;
//
// Status
//
this.Status.DataPropertyName = "status";
this.Status.HeaderText = "运行状态";
this.Status.Name = "Status";
this.Status.ReadOnly = true;
this.Status.Width = 65;
//
// readType
//
this.readType.DataPropertyName = "readType";
this.readType.HeaderText = "读取方式";
this.readType.Name = "readType";
this.readType.ReadOnly = true;
this.readType.Width = 65;
//
// CreateTime
//
this.CreateTime.DataPropertyName = "CreateTime";
this.CreateTime.DataPropertyName = "create_date";
this.CreateTime.HeaderText = "创建时间";
this.CreateTime.Name = "CreateTime";
this.CreateTime.ReadOnly = true;
this.CreateTime.Visible = false;
this.CreateTime.Width = 65;
//
// CNCEdit
@@ -444,7 +461,7 @@ namespace NSAnalysis
this.CNCEdit.Image = ((System.Drawing.Image)(resources.GetObject("CNCEdit.Image")));
this.CNCEdit.Name = "CNCEdit";
this.CNCEdit.ReadOnly = true;
this.CNCEdit.ToolTipText = "点击修改公差信息";
this.CNCEdit.ToolTipText = "点击修改配置";
this.CNCEdit.Width = 34;
//
// CNCDelete
@@ -453,7 +470,7 @@ namespace NSAnalysis
this.CNCDelete.Image = ((System.Drawing.Image)(resources.GetObject("CNCDelete.Image")));
this.CNCDelete.Name = "CNCDelete";
this.CNCDelete.ReadOnly = true;
this.CNCDelete.ToolTipText = "点击删除公差信息";
this.CNCDelete.ToolTipText = "点击删除配置";
this.CNCDelete.Width = 34;
//
// FToleranceSetup
@@ -464,7 +481,7 @@ namespace NSAnalysis
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(109)))), ((int)(((byte)(124)))));
this.BorderWidth = 0;
this.ClientSize = new System.Drawing.Size(932, 950);
this.ClientSize = new System.Drawing.Size(1114, 950);
this.Controls.Add(this.labSearchResult);
this.Controls.Add(this.radGroupBox7);
this.Controls.Add(this.lpcAddTol);
@@ -475,7 +492,7 @@ namespace NSAnalysis
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "FToleranceSetup";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "公差带设置";
this.Text = "文件分发设置";
this.Load += new System.EventHandler(this.FToleranceSetup_Load);
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).EndInit();
this.radTitleBar1.ResumeLayout(false);
@@ -485,8 +502,8 @@ namespace NSAnalysis
this.radGroupBox7.ResumeLayout(false);
this.radGroupBox7.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.rtbnSearch)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbMesPointName)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarModel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rtbCarName)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -503,19 +520,21 @@ namespace NSAnalysis
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn2;
private Telerik.WinControls.UI.RadGroupBox radGroupBox7;
private System.Windows.Forms.Label label3;
private Telerik.WinControls.UI.RadTextBox rtbMesPointName;
private System.Windows.Forms.Label label1;
private Telerik.WinControls.UI.RadTextBox rtbCarModel;
private System.Windows.Forms.Label label1;
private Telerik.WinControls.UI.RadTextBox rtbCarName;
private System.Windows.Forms.Label label15;
private Telerik.WinControls.UI.RadButton rtbnSearch;
private System.Windows.Forms.Label labSearchResult;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.ComboBox CB_TaskStatus;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn CarType;
private System.Windows.Forms.DataGridViewTextBoxColumn MeasurePointName;
private System.Windows.Forms.DataGridViewTextBoxColumn modelsName;
private System.Windows.Forms.DataGridViewTextBoxColumn modelsCode;
private System.Windows.Forms.DataGridViewTextBoxColumn DimensionName;
private System.Windows.Forms.DataGridViewTextBoxColumn TolLower;
private System.Windows.Forms.DataGridViewTextBoxColumn TolUpper;
private System.Windows.Forms.DataGridViewTextBoxColumn sourceFile;
private System.Windows.Forms.DataGridViewTextBoxColumn targetFile;
private System.Windows.Forms.DataGridViewTextBoxColumn Status;
private System.Windows.Forms.DataGridViewTextBoxColumn readType;
private System.Windows.Forms.DataGridViewTextBoxColumn CreateTime;
private System.Windows.Forms.DataGridViewImageColumn CNCEdit;
private System.Windows.Forms.DataGridViewImageColumn CNCDelete;
+10 -4
View File
@@ -155,19 +155,25 @@
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="CarType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="modelsName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MeasurePointName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="modelsCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DimensionName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="TolLower.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="sourceFile.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="TolUpper.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="targetFile.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Status.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="readType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="CreateTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">