private void OrderLogSave(int order_id, int order_info_id, string message) { try { SimpleService nfu_service = new SimpleService(); bool isSuccess = nfu_service.OrderLogSave(order_id, order_info_id, ref message); if (isSuccess) { //MessageBox.Show("儲存log"); //throw new Exception("ggtest"); } else { MessageBox.Show(message); } } catch (Exception ex) { richTextBox1.AppendText("無法取得【儲存log】服務\n"); //MessageBox.Show("無法取得【儲存log】服務"); //MessageBox.Show(ex.Message); } }