M
MikeY
It seems that when I call the Timer.Stop(). That my main form does not
appear correctly. All Added Controls, label box's, buttons are missing.
Hopefully someone will have a simple answer: My code is below, and thank you
all in advance.
private void Pad_Exit_Timer()
{
//*Every 1000 is 1Second
Exit_Timer = new Timer();
Exit_Timer.Tick += new EventHandler(Exit);
Exit_Timer.Interval = 5000;
Exit_Timer.Enabled = true;
Exit_Timer.Start();
}
//
private void Exit(Object source, EventArgs e)
{
//Dispose Of Added Control
Pad_ExitScreen.Dispose();
//This Is A Test. Main Form Is Fine At This Point
MessageBox.Show("HELLO");
//
Exit_Timer.Stop();
//Main Form Doesn't fully appear after this All Buttons, controls are
missing & can see screen desktop behind
}
appear correctly. All Added Controls, label box's, buttons are missing.
Hopefully someone will have a simple answer: My code is below, and thank you
all in advance.
private void Pad_Exit_Timer()
{
//*Every 1000 is 1Second
Exit_Timer = new Timer();
Exit_Timer.Tick += new EventHandler(Exit);
Exit_Timer.Interval = 5000;
Exit_Timer.Enabled = true;
Exit_Timer.Start();
}
//
private void Exit(Object source, EventArgs e)
{
//Dispose Of Added Control
Pad_ExitScreen.Dispose();
//This Is A Test. Main Form Is Fine At This Point
MessageBox.Show("HELLO");
//
Exit_Timer.Stop();
//Main Form Doesn't fully appear after this All Buttons, controls are
missing & can see screen desktop behind
}