Beispiel #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();
 }
Beispiel #2
0
 private void PayBut_Click(object sender, EventArgs e)
 {
     this.InvoiceForm = new InvoiceForm(this.cartItems);
     this.InvoiceForm.ShowDialog();
 }