Commit 3a9d7212 LN

1

1 个父辈 4d12ecc3
...@@ -258,6 +258,11 @@ namespace TSA_V ...@@ -258,6 +258,11 @@ namespace TSA_V
con.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); con.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
} }
} }
else
{
float size=con.Font.Size;
con.Font = new System.Drawing.Font("微软雅黑", size, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
}
// con.Refresh(); // con.Refresh();
} }
else if (con.Controls.Count > 0) else if (con.Controls.Count > 0)
...@@ -293,7 +298,13 @@ namespace TSA_V ...@@ -293,7 +298,13 @@ namespace TSA_V
con.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); con.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
} }
} }
// con.Refresh(); //
else
{
float size = con.Font.Size;
con.Font = new System.Drawing.Font("微软雅黑", size, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
}
con.Refresh();
} }
else if (con is ProjectorControl) else if (con is ProjectorControl)
{ {
......
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
// //
// txtWeldTemp // txtWeldTemp
// //
this.txtWeldTemp.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtWeldTemp.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtWeldTemp.Location = new System.Drawing.Point(234, 127); this.txtWeldTemp.Location = new System.Drawing.Point(234, 127);
this.txtWeldTemp.MaxLength = 8; this.txtWeldTemp.MaxLength = 8;
this.txtWeldTemp.Name = "txtWeldTemp"; this.txtWeldTemp.Name = "txtWeldTemp";
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
// //
// txtWeldTime // txtWeldTime
// //
this.txtWeldTime.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtWeldTime.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtWeldTime.Location = new System.Drawing.Point(185, 177); this.txtWeldTime.Location = new System.Drawing.Point(185, 177);
this.txtWeldTime.MaxLength = 8; this.txtWeldTime.MaxLength = 8;
this.txtWeldTime.Name = "txtWeldTime"; this.txtWeldTime.Name = "txtWeldTime";
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
// txtTagNo // txtTagNo
// //
this.txtTagNo.Enabled = false; this.txtTagNo.Enabled = false;
this.txtTagNo.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtTagNo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtTagNo.Location = new System.Drawing.Point(135, 24); this.txtTagNo.Location = new System.Drawing.Point(135, 24);
this.txtTagNo.MaxLength = 30; this.txtTagNo.MaxLength = 30;
this.txtTagNo.Name = "txtTagNo"; this.txtTagNo.Name = "txtTagNo";
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
// //
// txtPn // txtPn
// //
this.txtPn.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtPn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtPn.Location = new System.Drawing.Point(135, 62); this.txtPn.Location = new System.Drawing.Point(135, 62);
this.txtPn.MaxLength = 30; this.txtPn.MaxLength = 30;
this.txtPn.Name = "txtPn"; this.txtPn.Name = "txtPn";
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(149, 44); this.label1.Location = new System.Drawing.Point(149, 32);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(137, 12); this.label1.Size = new System.Drawing.Size(137, 12);
this.label1.TabIndex = 275; this.label1.TabIndex = 275;
...@@ -143,9 +143,9 @@ ...@@ -143,9 +143,9 @@
// //
this.lblWait.BackColor = System.Drawing.Color.Transparent; this.lblWait.BackColor = System.Drawing.Color.Transparent;
this.lblWait.Image = ((System.Drawing.Image)(resources.GetObject("lblWait.Image"))); this.lblWait.Image = ((System.Drawing.Image)(resources.GetObject("lblWait.Image")));
this.lblWait.Location = new System.Drawing.Point(101, 32); this.lblWait.Location = new System.Drawing.Point(101, 30);
this.lblWait.Name = "lblWait"; this.lblWait.Name = "lblWait";
this.lblWait.Size = new System.Drawing.Size(331, 106); this.lblWait.Size = new System.Drawing.Size(331, 110);
this.lblWait.TabIndex = 278; this.lblWait.TabIndex = 278;
this.lblWait.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.lblWait.TextAlign = System.Drawing.ContentAlignment.TopCenter;
// //
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!