public void ApplicationThreadException(object sender, ThreadExceptionEventArgs e) { MessageBox.Show("Bir hata oluştu."); CRUDHelper.AddException(e.Exception); }