Hello all - I'm sorry for the newbie question, but I am still trying to grasp this.
I have a very simple form, and in the form I've added a RichTextBox control.
Within the Form1 class, I have some static variables and static methods - they have to be static because I am calling some lowlevel winapi functions via interop services.
I would like to write data from this static method into the RichTextBox but I always get the following error upon compilation:
'WindowsApplication1.Form1.richTextBox1' denotes a 'field' where a 'class' was expected.
Can someone please point me in the right direction with respect to solving this issue?
Thanks all,
Sam
I have a very simple form, and in the form I've added a RichTextBox control.
Within the Form1 class, I have some static variables and static methods - they have to be static because I am calling some lowlevel winapi functions via interop services.
I would like to write data from this static method into the RichTextBox but I always get the following error upon compilation:
'WindowsApplication1.Form1.richTextBox1' denotes a 'field' where a 'class' was expected.
Can someone please point me in the right direction with respect to solving this issue?
Thanks all,
Sam