public updateCustomer(Customer customer, CstmerList parentWindow) { InitializeComponent(); myParentWindow = parentWindow; thisCustomer = customer; txtBillAddresss.Text = thisCustomer.BillingAddress; txtEmail.Text = thisCustomer.Customer_EmailAddress; txtName.Text = thisCustomer.CustomerName; txtPNumber.Text = thisCustomer.Customer_ContactNumber; txtShipAddress.Text = thisCustomer.Default_ShippingAddress; }
private void btnCustomers_Click(object sender, RoutedEventArgs e) { Customers.CstmerList cstmrWindow = new Customers.CstmerList(); cstmrWindow.Show(); }
public addCustomer(CstmerList parentWindow) { InitializeComponent(); myParentWindow = parentWindow; }