コード例 #1
0
 private void CustomerListing_Load(object sender, EventArgs e)
 {
     customer             = DatabaseAccess.getCustomerByNo(customer.customerNo);
     txtCustomerName.Text = customer.firstName + " " + customer.lastName;
     loadData();
 }
コード例 #2
0
        public void getCustomerNo(int pCustNo)
        {
            Customer selectedCustomer = DatabaseAccess.getCustomerByNo(pCustNo);

            getGuest(selectedCustomer);
        }
コード例 #3
0
 //refresh pieces if one is added
 public void refreshPieces()
 {
     pieces = DatabaseAccess.GetPieces();
     ShowPieces();
 }
コード例 #4
0
 //refresh patterns if one is added
 public void refreshPatterns()
 {
     patterns = DatabaseAccess.GetPatterns();
     ShowPatterns();
 }
コード例 #5
0
 private void WishList_Load(object sender, EventArgs e)
 {
     customer         = DatabaseAccess.getCustomerByNo(customer.customerNo);
     txtCustomer.Text = customer.firstName + " " + customer.lastName;
     getExistingItems();
 }