public InvoiceRowForm(int selectedId, InvoiceListForm iform, int statusInv)
 {
     InitializeComponent();
     this.invoiceIdSelected = selectedId;
     this.iform             = iform;
     this.statusInv         = statusInv;
 }
        private void BtnInvoice_Click(object sender, EventArgs e)
        {
            InvoiceListForm invoice = new InvoiceListForm();

            invoice.Show();
            this.Hide();
            invoice.FormClosed += Invoice_FormClosed;
        }