using System.Configuration; using System.Data; using System.Windows; namespace cw2menu_ui { /// /// Interaction logic for App.xaml /// public partial class App : Application { private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e) { MessageBox.Show(e.Exception.ToString()); e.Handled = true; } } }