private void BT_Editar_Click(object sender, EventArgs e) { if (plantillaSeleccionada().tieneCondicionesTipo1()) { crearPlantilla_ext = new Form1_ext(this, true); crearPlantilla_ext.ShowDialog(); } else { crearPlantilla = new Form1_prioridades(this, true); crearPlantilla.ShowDialog(); } }
private void BT_Nueva_Click(object sender, EventArgs e) { //crearPlantilla = new Form1(this, false); crearPlantilla = new Form1_prioridades(this, false); crearPlantilla.ShowDialog(); }