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); }
//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); }
internal GuiDisplay() { displayForm = new GuiDisplayForm(); displayForm.Show(); displayForm.ConsumeKey += new ConsumeKeyHandler(displayForm_ConsumeKey); }