|
@@ -172,27 +172,6 @@ namespace UAS_LabelMachine
|
|
|
PropertyInfo pi = dgvType.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic);
|
|
|
pi.SetValue(this.LabelInf, true, null);
|
|
|
Text = Text + "-" + Master;
|
|
|
- InitCustView();
|
|
|
- }
|
|
|
-
|
|
|
- public void InitCustView()
|
|
|
- {
|
|
|
- switch (SystemInf.Master)
|
|
|
- {
|
|
|
- case "N_HC":
|
|
|
- DiffCustOutBoxCode.Checked = true;
|
|
|
- break;
|
|
|
- case "SZSI_TEST":
|
|
|
- BaseUtil.SetControlsVisible(pib_year, pib_month, pib_day, pib_custoutboxcode);
|
|
|
- pib_custbarcode.HeaderText = "芯片号";
|
|
|
- break;
|
|
|
- case "SZSI":
|
|
|
- BaseUtil.SetControlsVisible(pib_year, pib_month, pib_day, pib_custoutboxcode);
|
|
|
- pib_custbarcode.HeaderText = "芯片号";
|
|
|
- break;
|
|
|
- default:
|
|
|
- break;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
protected override void WndProc(ref System.Windows.Forms.Message m)
|