Exemple #1
0
 private void FrmCreateSN_Load(object sender, EventArgs e)
 {
     for (int i = 0; i < MoudleCount; i++)
     {
         UserModuleSN moduleSN = new UserModuleSN();
         moduleSN.SetLabelText($"灯板{i + 1}:");
         moduleSN.Tag  = i;
         moduleSN.Name = ctr_Prefix + i;
         panelSN.Controls.Add(moduleSN);
     }
 }