V
violin wang
hi
I wrote a windows based program.The main UI named
form_base has a button "btn1".In btn1`s click event
handler I used ShowDialog(this) to show another form
named form_test.form_test also has a button btn2 and I
added a openfiledialog in form_test.In btn2 click event
handler I used ShowDialog(this) to show openfiledialog.
When I ran the program, I found that when the
openfiledialog returned, the form_test would close
automatically and returned to form_base.What shall I do
if I want form_test to remain open when openfiledialog
close.
regards
violin
I wrote a windows based program.The main UI named
form_base has a button "btn1".In btn1`s click event
handler I used ShowDialog(this) to show another form
named form_test.form_test also has a button btn2 and I
added a openfiledialog in form_test.In btn2 click event
handler I used ShowDialog(this) to show openfiledialog.
When I ran the program, I found that when the
openfiledialog returned, the form_test would close
automatically and returned to form_base.What shall I do
if I want form_test to remain open when openfiledialog
close.
regards
violin