private void btnAlta_Click(object sender, EventArgs e)
        {
            this.Hide();
            AltaProfesionalForm altaForm = new AltaProfesionalForm();

            altaForm.ShowDialog();
            this.getProfesionalGrid();
            this.Show();
        }
        private void btnModificar_Click(object sender, EventArgs e)
        {
            int             selectedrowindex = this.grdConsulta.SelectedCells[0].RowIndex;
            DataGridViewRow selectedRow      = this.grdConsulta.Rows[selectedrowindex];
            string          prof_cod         = Convert.ToString(selectedRow.Cells["Codigo"].Value);

            AltaProfesionalForm modifProf = new AltaProfesionalForm(prof_cod);

            this.Hide();
            modifProf.ShowDialog();
            this.getProfesionalGrid();
            this.Show();
        }