You could make use of FormClosed/FormClosing event of the second form. When the second form closes, the event handler in the first form will be invoked and you could call the public method there.
Example:
public partial class FirstForm : Form
{
public void OpenSecondForm()
{
SecondForm form = new SecondForm();
form.FormClosed += SecondForm_FormClosed;
form.Show();
}
private void SecondForm_FormClosed(object sender, FormClosedEventArgs e)
{
this.PopulateGridView();
}
public void PopulateGridView()
{
}
}
solved Using a public void from one form to another