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
John Baird
NA
1
0
Form properties do not take effect from another form
Dec 31 2008 3:29 AM
Hi,
I have a C# program with 2 forms:
* When form 2 shows, 2 timers are disabled and the lbl.text functions are changed on form 1
* When form 2 is hidden, these functions should be changed back.
* I have written a function within form 1 to change it back, the code runs through the function but the changes are not made
PLEASE HELP
Form 2 Code when hiding:
this.Hide();
WindowsApplication1.frmQ1 mf = new WindowsApplication1.frmQ1();
mf.load_Settings();
mf.restore();
restore() code:
public void restore()
{
timer.Enabled = true;
menuItem3.Enabled = false;
menuItem7.Enabled = true;
timer1.Enabled = true;
statusBar1.Text = "Ready";
lblLoad.Text = "Waiting for update";
}
The changes in restore() function do not occur
Best Regards
JJ Baird
Reply
Answers (
2
)
Forward slash in c#.net 2.0
Office Outlook Add-in in c#