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