Exemple #1
0
        public void Show(String msg)
        {
            if (paused)
            {
                return;
            }

            messageDisplaying = "".PadLeft(20, placer);
            currentColumn     = 0;

            if (currentTarget != Target.Customer)
            {
                cashierMessage = msg;
            }
            else if (currentTarget != Target.Cashier)
            {
                customerMessage = msg;
            }

            displayForm.Show(msg, currentTarget);
        }
Exemple #2
0
 //TODO Only here to maintain code compatibility with CF version
 internal GuiDisplay(object o)
 {
     displayForm = o as GuiDisplayForm;
     displayForm.Show();
     displayForm.ConsumeKey += new ConsumeKeyHandler(displayForm_ConsumeKey);
 }
Exemple #3
0
 internal GuiDisplay()
 {
     displayForm = new GuiDisplayForm();
     displayForm.Show();
     displayForm.ConsumeKey += new ConsumeKeyHandler(displayForm_ConsumeKey);
 }