Exemplo n.º 1
0
 /// <summary>
 /// 还原为正常 结账状态
 /// </summary>
 /// <param name="type">结账类型</param>
 private void RecoverType(string type)
 {
     if (type.Equals("招待") || type.Equals("员工餐"))
     {
         btnClear.Enabled = true;
         btnClear.Visible = true;
         btnPrint.Enabled = true;
         btnPrint.Visible = true;
     }
     else
     {
         //如果没有找零不用弹出提示界面
         if (btnInputNumber != Info.totalPrice)
         {
             CheckForm checkForm = new CheckForm();
             checkForm.StartPosition = FormStartPosition.CenterScreen;
             checkForm.SetStatus(this.txtRequire.Text, this.txtPay.Text, this.txtGiveBack.Text);
             checkForm.ShowDialog();
         }
         //关闭找零窗体后客显显示欢迎信息
         PoleDisplayer.Clear();
         PoleDisplayer.Display(Info.printmsg, PoleDisplayType.Dark);
     }
 }