Hello everyone
I have 2 forms frmEmployee and frmSearch. frmSearch is called from frmEmployee
i m not hiding frmEmployee. when i get the focus back of frmEmployee, it seems that textboxes are getting the values from frmSetup but not displaying. Following is the code on frmEmployee
private void btnBrowse_Click(object sender, EventArgs e)
{
frmSearch ObjSearch = new frmSearch(this.Name,this.tbcEmployee.SelectedTab.Name,isLoaded);
ObjSearch.Show();
tbEmpid.Text = _empid;
}
The following is the code on frmSearch
private void btnOk_Click(object sender, EventArgs e)
{
ObjEmployee = new frmEmployee(this.dgvDetail.CurrentRow.Cells[0].Value.ToString());
}
When i debug the program all the controls are populating with the values but the values are not displaying.
What to do?
Thanks and Regards