private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         InvoiceEditor.index = e.RowIndex;
         InvoiceEditor form = new InvoiceEditor();
         form.Show();
         // Instead of reloading the form automatically, I'll just force you to reopen it and do it for me
         this.Close();
     }
 }
 private void viewCustomerBtn_Click(object sender, EventArgs e)
 {
     if (customersDropDown.SelectedIndex != 0)
     {
         // It's a mess but it's easier than changing the code in Invoice Editor.cs
         InvoiceEditor.index = theInvoices.FindIndex(x => x._customerNum == theCustomers[theCustomers.FindIndex(n => n._name == customersDropDown.Text)]._customerNum);
         InvoiceEditor form = new InvoiceEditor();
         form.Show();
     }
 }