示例#1
0
 private void Click_Continuar(object sender, RoutedEventArgs e)
 {
     foreach (var articulo in listaArticulo)
     {
         if (comboBox_articulo.SelectedItem.ToString().Equals(articulo[1]))
         {
             MenuEvaluador menuEvaluador = new MenuEvaluador(articulo);
             menuEvaluador.Show();
             this.Close();
         }
     }
 }
 private void Click_Cancelar(object sender, RoutedEventArgs e)
 {
     if (string.IsNullOrWhiteSpace(textBox_titulo.Text))
     {
         MenuEvaluador menuEvaluador = new MenuEvaluador(this.articulo, false);
         menuEvaluador.Show();
         this.Close();
     }
     else
     {
         MenuEvaluador menuEvaluador = new MenuEvaluador(this.articulo);
         menuEvaluador.Show();
         this.Close();
     }
 }