public NewAddressWindow(Address address, Button newAddressButton, CustomerWindow customerWindow, NewCustomerWindow newCustomerWindow) : this() { this.address = address; this.newAddressButton = newAddressButton; this.customerWindow = customerWindow; this.newCustomerWindow = newCustomerWindow; }
public NewAddressWindow(Address address, CustomerWindow customerWindow, Button newAddressButton, NewCustomerWindow newCustomerWindow) : this() { addressTextField.Text = address.AddressName; countryTextField.Text = address.Country; this.newCustomerWindow = newCustomerWindow; this.customerWindow = customerWindow; this.newAddressButton = newAddressButton; this.address = address; isUpdateFlag = true; }