Ejemplo n.º 1
0
 /// <summary>
 /// Opens new form
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void NewInvoiceBut_Click(object sender, EventArgs e)
 {
     //Creates new form and closes the old one
     this.InvoiceFormL = new InvoiceForm();
     this.Hide();
     this.InvoiceFormL.ShowDialog();
     this.Close();
 }
Ejemplo n.º 2
0
 private void PayBut_Click(object sender, EventArgs e)
 {
     this.InvoiceForm = new InvoiceForm(this.cartItems);
     this.InvoiceForm.ShowDialog();
 }