/* * Refreshes all fields displayed in the window according to * current system objects states. */ private void refreshDisplay() { clearDisplay(); lstCustomers.ItemsSource = mFacade.GetAllCustomerNbs(); if (mFacade.IsACustomerLoaded()) { lblCustNumberValue.Content = mFacade.GetCurrentCustNb(); txtCustName.Text = mFacade.GetCurrentCustName(); txtCustAddress.Text = mFacade.GetCurrentCustAdress(); } }