private void output_del() { try { int rsNum = 2; wnDm wdm = new wnDm(); rsNum = wdm.Delete_s_주문등록(txt_plan_date.Text, txt_ord_num.Text); if (rsNum == 0) { resetSetting(); } else if (rsNum == 1) { MessageBox.Show("삭제에 실패하였습니다"); } else { MessageBox.Show("Exception 에러"); } } catch (Exception e2) { MessageBox.Show("시스템 에러: " + e2.Message.ToString()); } }