Пример #1
0
        private void btnFindOIC_Click(object sender, EventArgs e)
        {
            frmOIC frm_OIC = new frmOIC();

            frm_OIC.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalOICId))
            {
                func_Retrieve_OIC();
                btnSaveUpdate.Focus();
            }
        }
Пример #2
0
        private void btnFindOIC_Click(object sender, EventArgs e)
        {
            frmOIC frm_OIC = new frmOIC();

            frm_OIC.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalOICId))
            {
                func_Retrieve_OIC(); dtReceived.Focus();
            }
            else
            {
                txtReceivingEmployee.Text = ""; btnFindOIC.Focus();
            }
        }
Пример #3
0
        private void btnFindIssuer_Click(object sender, EventArgs e)
        {
            GlobalClass.GlobalOICId = "";
            frmOIC frm_OIC = new frmOIC();

            frm_OIC.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalOICId))
            {
                func_Retrieve_OIC(); dtIssuanceDate.Focus();
            }
            else
            {
                btnFindIssuer.Focus(); txtIssuedBy.Text = "";
            }
        }
Пример #4
0
        private void btnFindChairman_Click(object sender, EventArgs e)
        {
            frmOIC frm_OIC = new frmOIC();

            frm_OIC.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalOICId))
            {
                Chairman_Id = "";
                Chairman_Id = GlobalClass.GlobalOICId;
                func_Retrieve_Witness();
                dtApproved.Focus();
            }
            else
            {
                btnFindChairman.Focus();
            }
        }
Пример #5
0
        private void btnFindR_Click(object sender, EventArgs e)
        {
            frmOIC frm_OIC = new frmOIC();

            frm_OIC.ShowDialog();

            if (!String.IsNullOrEmpty(GlobalClass.GlobalOICId))
            {
                Issuing_Id = "";
                Issuing_Id = GlobalClass.GlobalOICId;
                func_Retrieve_OIC();
                btnFindInspector.Focus();
            }
            else
            {
                btnFindR.Focus();
            }
        }