public EditPaymentInformation(My_account my_account, PaymentInformation info) { InitializeComponent(); My_account = my_account; Info = info; CardNumber.Text = Info.CardNumber.Text; ExpirationDate.Text = Info.ExpirationDate.Text; CVC.Text = Info.CVC.Text; }
public EditShippingInformation(My_account my_account, ShippingInformation info) { InitializeComponent(); My_account = my_account; Info = info; FirstName.Text = Info.FirstName.Text; LastName.Text = Info.LastName.Text; StreetAddress.Text = Info.StreetAddress.Text; City.Text = Info.City.Text; PhoneNumber.Text = Info.PhoneNumber.Text; }
public PaymentInformation(My_account my_account) { InitializeComponent(); My_account = my_account; Flag = 1; try { LoadPaymentInformation(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public Orders(My_account my_account) { InitializeComponent(); SelectAllOrders(); }