My question may sound weird,but I have no idea on how tocreate
a reference between 2 windows forms(for example to create a referrence and call it TheMainForm1).I'm fighting with this since 2 days(yes I know...) What I'm trying to do is to hide the Form1,but until now the only method I found is:
Form2 form2 = new Form2();
But the above code creates a new Form2 wich generates a brand new window and another tray icon...I just need to call the existing Form2
Is there someone who can guide me on how to create a reference between the 2 forms? I'm trying to learn c#.
HUGE thanks for any replay!
P.S: I also tried:
Form2 form2= new Form2(); form2.ShowDialog();
No luck..There are more than 1 tray icons again.