I have created a list "exe" and new WinForm in Main(). I need to access both in OnFocusChanged(). The idea is that a hidden WinForm is created, and when "firefox" has focus, the WinForm will be displayed. My WinForm has a method, update(), that is used to show the WinForm. If I call "form.update()" in Main, the WinForm appears, however I cannot access it in OnFocusChanged(). 

How can I access the list and WinForm object in OnFocusChanged()? Thanks.

```
namespace WinForm1
{
    static class Program
    {
        [STAThread]
        static void Main()
        {
            List<string> exe = new List<string>();

            Form1 form = new Form1();
            Application.Run(form);
        }
        static private void OnFocusChanged(object sender, AutomationFocusChangedEventArgs e)
        {
            string program = "firefox";
            if(exe.Any(program.Contains)
            {
                form.update(true);
            }
        }
    }
}

```