Esempio n. 1
0
 private void BtnModificarClick(object sender, RoutedEventArgs e)
 {
     if (lvPreguntas.SelectedIndex != -1)
     {
         QuizEditor qzEditor = new QuizEditor(lvPreguntas.SelectedItem as Preguntas, QuizEditor.Modo.Modificar);
         qzEditor.ShowDialog();
     }
     else
     {
         MostrarAdvertenciaSeleccion("modificar");
     }
 }
Esempio n. 2
0
 private void BtnAgregarClick(object sender, RoutedEventArgs e)
 {
     QuizEditor qzEditor = new QuizEditor(QuizEditor.Modo.Agregar);
     qzEditor.ShowDialog();
 }