Esempio n. 1
0
 public FormConfig()
 {
     InitializeComponent();
     btnTestCashBox.DisplayColor = btnTestCashBox.BackColor;
     btnTestClientShow.DisplayColor = btnTestClientShow.BackColor;
     BindClientShowInfo();
     BindPrinterInfo();
     this.cmbPrinter.SelectedIndexChanged += new System.EventHandler(this.cmbPrinter_SelectedIndexChanged);
     //多语言
     InitMultiLanguageCombox();
     //营业方式
     ListItem item = new ListItem("堂食", Convert.ToString((int) ShopSaleType.DineIn));
     cmbSaleType.Items.Add(item);
     item = new ListItem("外卖", Convert.ToString((int) ShopSaleType.Takeout));
     cmbSaleType.Items.Add(item);
     item = new ListItem("堂食加外卖", Convert.ToString((int) ShopSaleType.DineInAndTakeout));
     cmbSaleType.Items.Add(item);
 }
Esempio n. 2
0
 private void BindClientShowInfo()
 {
     cmbClientShowModel.Items.Add("CD7110");
     cmbClientShowModel.Items.Add("Led8N");
     cmbClientShowModel.Items.Add("Senor");
     cmbClientShowModel.Items.Add("VFD220E");
     ListItem item = new ListItem("单排", "SingleLine");
     cmbClientShowType.Items.Add(item);
     item = new ListItem("双排", "DualLine");
     cmbClientShowType.Items.Add(item);
 }