/// <summary> /// Handles the Click event of the button4 control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> private void button4_Click(object sender, EventArgs e) { List <string> lista = new List <string>(); if (RegrasNegocio.Regras.SeeAllEmpresa(ref lista)) { Form2 novo = new Form2(); novo.Lista(lista); novo.ShowDialog(); novo.Close(); } }