I have 2 forms and I need to (show/hide) them from main().. I'm trying something like this:
Form1 f1 = new Form1();
Form2 f2 = new Form2();
f1.ShowDialog();
Thread.Sleep(5000);
f1.Close(); // or Hide() both not working
f2.ShowDialog();
But it only shows f1 and not close it or shows f2