private void AddInvoice_Click(object sender, EventArgs e) { AddInvoice addinvoice = new AddInvoice(); addinvoice.SetDay(viewdate,true,null); addinvoice.Show(); this.Close(); }
private void removeInvoice_Click(object sender, EventArgs e) { AddInvoice addinvoice = new AddInvoice(); addinvoice.SetDay(viewdate,false,driver); addinvoice.Show(); this.Close(); }