Esempio n. 1
0
        private void gridProfesionales_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            var grid = (DataGridView)sender;

            if (grid.Columns[e.ColumnIndex] is DataGridViewButtonColumn && e.RowIndex >= 0)
            {
                ProfesionalAMFrm frm = new ProfesionalAMFrm();
                frm.ShowProfesional(grid.Rows[e.RowIndex].DataBoundItem as Profesional, this);
            }
        }
Esempio n. 2
0
        private void NuevoProfesionalBtn_Click(object sender, EventArgs e)
        {
            ProfesionalAMFrm frm = new ProfesionalAMFrm();

            frm.NewProfesional(this);
        }