private void UpdateUserAddressLabel(BankTellerCommon.Customer customer) { if (addressLabel != null) { return; } addressLabel = new BarStaticItem(); UIExtensionSites[ExtensionSiteNames.MainStatus].Add(addressLabel); addressLabel.Caption = customer.Address1; }
public void OnAcceptCustomer(object sender, EventArgs e) { BankTellerCommon.Customer customer = myController.GetNextCustomerInQueue(); if (customer == null) { XtraMessageBox.Show(this, "There are no more customers in the queue.", "Bank Teller", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return; } listCustomers.Items.Add(customer); }
public void WorkWithCustomer(BankTellerCommon.Customer customer) { WorkItem.WorkWithCustomer(customer); }