Exemple #1
0
        private void btnFind_Click(object sender, EventArgs e)
        {
            frmAcccountableOfficers frm_Accountable = new frmAcccountableOfficers();

            frm_Accountable.ShowDialog();

            func_Retrieve_AOfficer();
        }
Exemple #2
0
        private void btnFindAcc_Click(object sender, EventArgs e)
        {
            GlobalClass.GlobalOfficerId = "";
            frmAcccountableOfficers frm_AccountableOfficers = new frmAcccountableOfficers();

            frm_AccountableOfficers.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalOfficerId))
            {
                func_Retrieve_AOfficer(); dtReceivedDate.Focus();
            }
            else
            {
                txtAccountable.Text = ""; btnFindAcc.Focus();
            }
        }
Exemple #3
0
        private void btnFindA_Click(object sender, EventArgs e)
        {
            frmAcccountableOfficers frm_AccountableOfficers = new frmAcccountableOfficers();

            frm_AccountableOfficers.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalOfficerId))
            {
                Approving_Id = "";
                Approving_Id = GlobalClass.GlobalOfficerId;
                func_Retrieve_Approving();
                btnFindR.Focus();
            }
            else
            {
                btnFindA.Focus();
            }
        }
Exemple #4
0
        private void btnFindInspector_Click(object sender, EventArgs e)
        {
            frmAcccountableOfficers frm_AccountableOfficers = new frmAcccountableOfficers();

            frm_AccountableOfficers.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalOfficerId))
            {
                Inspector_Id = "";
                Inspector_Id = GlobalClass.GlobalOfficerId;
                func_Retrieve_Inspector();
                btnFindChairman.Focus();
            }
            else
            {
                btnFindInspector.Focus();
            }
        }