Accessing methods between forms
I have Form1 and Form2. Form1 is the main form for the application, form2 is created by form1 when you click a button.
Inside Form2 I have a method called showmessage that is public and part of the Form2 class.
In form1, I create an instance of the form2 object and then call the show method and it pops up. Then I attempt to call the form2.showmessage function that I wrote but can't get to it.
What gives?
I'm new to C# and trying to get past this learning curve. Would appreciate any help you could give me.
Thanks
glenn