Try this,
check the inline comments
Form1
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public void RefreshListView()
{
}
private void buttonOpenForm2_Click(object sender, EventArgs e)
{
Form2 obj = new Form2();
obj.MyParent = this;
obj.Show();
}
}
Form2
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
public Form MyParent { get; set; }
private void buttonClose_Click(object sender, EventArgs e)
{
MyParent.GetType().GetMethod("RefreshListView").Invoke(MyParent, null);
}
}