public ChangeNameWindow(CustomerModel SelectedRow, CustomerListWindow customerListWindow, int SalesManId) { _Id = SalesManId; this.CustomerListWindow = customerListWindow; this.SelectedCustomer = SelectedRow; InitializeComponent(); txtExistingName.Text = SelectedRow.Name; }
public ChangeResponsibleWindow(CustomerModel SelectedRow, CustomerListWindow customerListWindow, int SalesManId) { _Id = SalesManId; this.CustomerListWindow = customerListWindow; this.SelectedCustomer = SelectedRow; InitializeComponent(); }
public ChangeCityAndPostcodeWindow(CustomerModel SelectedRow, CustomerListWindow customerListWindow, int SalesManId) { _Id = SalesManId; this.CustomerListWindow = customerListWindow; this.SelectedCustomer = SelectedRow; InitializeComponent(); txtExistingCity.Text = SelectedRow.City; txtExistingPostcode.Text = SelectedRow.Postcode; }