public FrmAddCustomer(AppData.CustomerProfile cpx) : this() { cp = cpx; txtCustomerID.Text = cp.CustomerId.ToString(); txtName.Text = cp.CpName; txtDileveryAddress.Text = cp.CpDeliveryAddress; txtBillAddress.Text = cp.CpBillAddress; txtMobile.Text = cp.CpMobileNumber; txtEmail.Text = cp.CpEmail; }
public FrmAddCustomer() { InitializeComponent(); cp = new SMS_Gateway.AppData.CustomerProfile(); }