Example #1
0
        private void Btn_nuevo_Click(object sender, EventArgs e)
        {
            frm_ABM_tripulacion formulario_tripulacion = new frm_ABM_tripulacion();

            formulario_tripulacion.ShowDialog();
            Btn_buscar_Click(sender, e);
        }
Example #2
0
        private void Btn_eliminar_Click(object sender, EventArgs e)
        {
            frm_ABM_tripulacion formulario_tripulacion = new frm_ABM_tripulacion();
            var tripulacion = (Tripulacion)dgv_tripulacion.CurrentRow.DataBoundItem;

            formulario_tripulacion.seleccionarTripulacion(frm_ABM_tripulacion.FormMode.delete, tripulacion);
            formulario_tripulacion.ShowDialog();
            Btn_buscar_Click(sender, e);
        }