private void BtnEditTesis_Click(object sender, RoutedEventArgs e) { if (selectedTesis == null) { MessageBox.Show("Selecciona la tesis que quieres modificar", "", MessageBoxButton.OK, MessageBoxImage.Error); } else { AddTesis update = new AddTesis(selectedTesis); update.ShowDialog(); } }
private void RadRibbonButton_Click(object sender, RoutedEventArgs e) { AddTesis add = new AddTesis(listaTesis); add.ShowDialog(); }