> 
> **Possible Duplicate:**  
> 
> [Calling a method on another form in C#](https://stackoverflow.com/questions/837788/calling-a-method-on-another-form-in-c-sharp) 
> 
> 
> 

I have 2 forms in my program. Is there a way that, when clicking a button from `form1`, I can invoke a method in the `form2` class?

This is what I have tried. clear\_grid() is the method I have in form 2 (named GameForm) and this is the event listener for the button in form 1.

```
private void yesButton_Click(object sender, EventArgs e)
{  
    this.Hide();
    GameForm.ActiveForm.Invoke(clear_grid());
}

```

Of course this is not working. Is there a similar way?