Ejemplo n.º 1
0
        private void btnSendMR_Click(object sender, EventArgs e)
        {
            long newMRNo = 0;
            long x       = 0;

            try
            {
                newMRNo = GenerateMR(objPRPDBatch);
                x       = objPRPDBatch_DL.UpdateMR(objPRPDBatch.PRPDBatchID, newMRNo);

                if (x > 0)
                {
                    MessageBox.Show(this, "Successfully Raised a MR \n\nMRNO :- " + newMRNo, "MR Is Raised", MessageBoxButtons.OK);
                    btnSendMR.Visible = false;
                    btnSendMR.Enabled = false;
                }
            }
            catch (Exception)
            {
                throw;
            }
        }