private void CustomerListing_Load(object sender, EventArgs e) { customer = DatabaseAccess.getCustomerByNo(customer.customerNo); txtCustomerName.Text = customer.firstName + " " + customer.lastName; loadData(); }
public void getCustomerNo(int pCustNo) { Customer selectedCustomer = DatabaseAccess.getCustomerByNo(pCustNo); getGuest(selectedCustomer); }
//refresh pieces if one is added public void refreshPieces() { pieces = DatabaseAccess.GetPieces(); ShowPieces(); }
//refresh patterns if one is added public void refreshPatterns() { patterns = DatabaseAccess.GetPatterns(); ShowPatterns(); }
private void WishList_Load(object sender, EventArgs e) { customer = DatabaseAccess.getCustomerByNo(customer.customerNo); txtCustomer.Text = customer.firstName + " " + customer.lastName; getExistingItems(); }