Browse Source

去除无用代码

章政 5 years ago
parent
commit
f3f2114b39
1 changed files with 0 additions and 21 deletions
  1. 0 21
      UAS-出货标签管理(贸易版)/UAS_出货标签管理.cs

+ 0 - 21
UAS-出货标签管理(贸易版)/UAS_出货标签管理.cs

@@ -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)