private void EpsonParallelPrinterTest_Load(object sender, EventArgs e) { config = FT.Commons.Cache.StaticCacheManager.GetConfig <ParallelPrinterConfig>(); this.txtPrintThreadSeconds.Text = config.Seconds.ToString(); this.txtPrintTotalNum.Text = config.Pages.ToString(); this.txtHotPort.Text = config.LPT; this.lvCommandLists.Items.Clear(); for (int i = 0; i < config.Commands.Count; i++) { this.lvCommandLists.Items.Add(config.Commands[i]); } helper = new LPTHelper(); }