Пример #1
0
        private void btn_force_match_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrWhiteSpace(txt_remarks.Text))
            {
                DialogResult dialogResult = MessageBox.Show("Please Enter Reason for Force Matching", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            else
            {
                //get id first, this is use in force match method
                int scan_id = get_id(acct_num, "scanned_trans");
                int icbs_id = get_id(txt_icbs_acct_num.Text, "icbs_trans");

                //Force matching method
                force_match("icbs_trans", txt_icbs_acct_num.Text, txt_icbs_acct_name.Text, icbs_trans_code, txt_remarks.Text, scan_id, txt_icbs_date.Text);
                force_match("scanned_trans", acct_num, acct_name, scan_trans_code, txt_remarks.Text, icbs_id, scan_date);

                MessageBox.Show("Force Match Successful", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
                Unmatch_View uv = new Unmatch_View();
                uv.Show();
            }
        }
Пример #2
0
        private void unmatchedToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Unmatch_View uv = new Unmatch_View();

            uv.Show();
        }