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
Pavol
NA
23
9k
Change variables in form from class
Aug 16 2013 4:54 AM
Hi
I need change variables in form from class
I have event on button.
private void listenClick(object sender, EventArgs e)
{
if (button == false)
{
button = true;
listen.Text = "Close";
listen.BackColor = Color.Red;
textLp.Enabled = false;
textRp.Enabled = false;
textIp.Enabled = false;
textSend.Enabled = true;
}
else
{
button = false;
listen.Text = "Listen";
listen.BackColor = Color.Lime;
textLp.Enabled = true;
textRp.Enabled = true;
textIp.Enabled = true;
textSend.Enabled = false;
}
}
I need change all this variables in class.
Reply
Answers (
8
)
c# setup files
Object of same Instance