Exemplo n.º 1
0
        private void BtnUpdate_Click(object sender, RoutedEventArgs e)
        {
            NewWordWindow newWordWindow = new NewWordWindow(_wordManager.Words[_selectedIndex].Id);

            newWordWindow.ShowDialog();
            _wordManager.ListWords(dtgWords, txtSearch.Text);
        }
Exemplo n.º 2
0
        private void BtnNew_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            NewWordWindow newWordWindow = new NewWordWindow();

            newWordWindow.ShowDialog();
            _wordManager.ListWords(dtgWords, txtSearch.Text);
        }