private void Consultar_Click(object sender, EventArgs e)
 {
     Consulta consulta = new Consulta();
     consulta.ShowDialog();
 }
        private void Consultar_Click(object sender, EventArgs e)
        {
            Consulta consulta = new Consulta();

            consulta.ShowDialog();
        }