Simple Question about two forms

  • Thread starter Thread starter Cylix
  • Start date Start date
C

Cylix

There are 2 forms, named as form1 and form2
form1_onLoad
dim a as new form2
a.showDialog(me)

when the form2 closed(dispose), the focus will back to form1.

The case is, after form2 dispose, the screen will refresh shortly.
I have tried a lot of time, it seems that my application will minisize
in a shorttime and then show the form1.

How can I remove the "refresh" ?
 
Can you post a complete program that demonstrates the problem. When
form a is closed, form1, should not minimize.
 
form2.Owner = form1
form2.ShowDialog()
txtDescription.Text = frmKey.selectedKeywords
txtDescription.Focus()
 
Back
Top