Exemplo n.º 1
0
 public PaymentForm(OrderForm orderForm)
 {
     order = new Order();
     InitializeComponent();
     this.orderForm = orderForm;
     PrintBillBtn.Hide();
     ps = new PaymentService();
 }
Exemplo n.º 2
0
 public PaymentForm(OrderForm orderForm, Order order)
 {
     InitializeComponent();
     PrintBillBtn.Hide();
     this.orderForm     = orderForm;
     this.order         = order;
     OrderIdTxtBox.Text = order.id.ToString();
     ps = new PaymentService();
     PrintBill();
 }