譬如我再程序更新数据库时,关闭了sql server,这样系统就会报错abnormal terminate program!我如何才能再系统报错跳出对话框前捕获错误,提前做出相应处理?请大侠指教啊!