TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Alex Wait
NA
1
0
Accessing a Control
Jul 15 2007 5:25 PM
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.
Reply
Answers (
2
)
insert and update statment problem (sql express)
Implementing help on touchscreen interface