private void btnFind_Click(object sender, EventArgs e) { frmAcccountableOfficers frm_Accountable = new frmAcccountableOfficers(); frm_Accountable.ShowDialog(); func_Retrieve_AOfficer(); }
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(); } }
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(); } }
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(); } }