Sir,
I need your help to a navigation problem.
This is my first step:-
When I click on the ' + ' button, a new form will popup. Here that form:-
I want to return and focus to the comboBox control containing ' +' control immediately after saving the company.
How this possible in c#?, please help me.

Bineesh ViswanathPosted Mar 25, 2014, 7:25 AM
Try this.
Put this code in the form where you navigate into the frmCompany
frmCompany frm=new frmCompany();
frm.ShowDialog();
// also call the function to load the company in the comboBox.
Then in the form frmCompany-
// in the Button Save_Click
//after save function code,
form1 frm=new form1();
frm.show();
Please mark as correct if it correct.
Nathan RPosted Mar 25, 2014, 7:29 AM
the code by you is correct.
VulpesPosted Mar 25, 2014, 7:09 AM
// on main form
else
{
}
// on frmCompany
If the combobox is data-bound, then to add an item you'll need to change the underlying data source and rebind.