G
gregarican
I am using VS2005 for creating a pretty basic application. When I open
another form from my main form using a button event I just do
something like:
NewForm newForm = new NewForm();
newForm.Show();
Then when I'm done with the new form I use another button event like:
this.Close();
The problem is that the new form that was opened still has a lingering
afterimage on the screen after its closed. If I move the main form
around the screen some then the afterimage disappears. Is there
something that I'm not doing correctly? In the interim I just open the
new form through:
NewForm newForm = new NewForm();
newForm.ShowDialog();
This gets rid of the afterimage. I don't want my app this modal
though. Any suggestions?
another form from my main form using a button event I just do
something like:
NewForm newForm = new NewForm();
newForm.Show();
Then when I'm done with the new form I use another button event like:
this.Close();
The problem is that the new form that was opened still has a lingering
afterimage on the screen after its closed. If I move the main form
around the screen some then the afterimage disappears. Is there
something that I'm not doing correctly? In the interim I just open the
new form through:
NewForm newForm = new NewForm();
newForm.ShowDialog();
This gets rid of the afterimage. I don't want my app this modal
though. Any suggestions?