Пример #1
0
        private void MenuItem_Click_14(object sender, RoutedEventArgs e)
        {
            LitDbContext db = new LitDbContext();

            try
            {
                db.PopulateDialects();
                MessageBox.Show("The Dialects was successfully saved.", "Done", MessageBoxButton.OK, MessageBoxImage.Information);
            }
            catch (Exception expt)
            {
                ErrorTextBox.Text = expt.Message;
            }
        }