Exemple #1
0
        private void BtnAgregar_Click(object sender, RoutedEventArgs e)
        {
            TerminoWin addTerm = new TerminoWin()
            {
                Owner = this
            };

            addTerm.ShowDialog();
        }
Exemple #2
0
        private void BtnEditar_Click(object sender, RoutedEventArgs e)
        {
            if (selectedTermino == null)
            {
                MessageBox.Show("Primero debes de seleccionar el término que deseas modificar");
                return;
            }

            TerminoWin addTerm = new TerminoWin(selectedTermino)
            {
                Owner = this
            };

            addTerm.ShowDialog();
        }