private void Application_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
{
MessageBox.Show("エラーが発生しました。\n\'****\' object has no ...という内容の場合、プラグインのエラーである可能性が高いです。\n" + e.Exception.Message);
e.Handled = true;
Application.Current.Shutdown();
}