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(); } }
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(); } }
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 = ""; } }
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(); } }
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(); } }