Ejemplo n.º 1
0
        private void btnDelete_Click(object sender, EventArgs e)
        {
            wnDm wDm   = new wnDm();
            int  rsNum = wDm.DeleteFacFix(txt_faccd.Text.ToString(), int.Parse(txt_seq.Text.ToString()));

            if (rsNum == 0)
            {
                resetSetting();

                MessageBox.Show("성공적으로 삭제하였습니다.");
            }
            else if (rsNum == 1)
            {
                MessageBox.Show("삭제에 실패하였습니다.");
            }

            resetSetting();
        }