I am doing some of my first GUI C# programming. I have a program.cs and a form.cs code files. I have a refreshData() function that I want my button to call. It works if I use
[code]
RSSGuiVersion.Program.refreshData();
[/code]
However, at the end of the function I want my function access a label called "currentSong" and change its text. How do I do this? I've tried
[code]
RSSGuiVersion.Armitunes.currentSong.Text = "a";
[/code]
And I get
An object reference is required for the nonstatic field, method, or property 'member'
For the life of me I do not know where to go next.