Wednesday, 15 July 2015

c# - Using Multiple Forms -



c# - Using Multiple Forms -

well creating programme in need separate window show log.

i managed show form using

form1.showdialog();

but unfortunately transfers focus shown form , user not able click on previous form until he\she closes it.

question : how utilize 2 separate forms @ same time ( 1 main ui, , 1 logger ).

you utilize form1.show() instead of showdialog().

the showdialog method intended show form modal dialog, (by design) block original form until form1 has been closed.

the show method, on other hand, opens new form normal window.

c# winforms

No comments:

Post a Comment