Beispiel #1
0
 //返回销售按钮
 private void btnReturn_Click(object sender, EventArgs e)
 {
     //可能出现结账之后返回销售界面的情况,要保持原来的iscash值
     //sell.isCash = false;
     sell.Show();
     this.Dispose();
 }
Beispiel #2
0
        //打开销售收银界面
        private void btnSell_Click(object sender, EventArgs e)
        {
            string comBHS = ConfigHelper.GetAppConfig("BHS_Com");
            string comKXP = ConfigHelper.GetAppConfig("KXP_Com");

            if (comBHS == "" || comKXP == "")
            {
                MessageBox.Show("请在系统管理界面选择扫描枪或客显串口!");
                return;
            }

            frmSell sellFrm = new frmSell(staff, this);

            sellFrm.Show();

            this.Hide();
        }