Form is hidden behind other forms when ShowModal is called

后端 未结 6 1247
攒了一身酷
攒了一身酷 2020-12-04 22:34

My application is based on modal forms. Main form opens one form with ShowModal, this form opens another with ShowModal, so we have stacked modal forms. There is sometimes a

6条回答
  •  攒了一身酷
    2020-12-04 23:12

    Just set the Visible property of the form, that you want to open modal, to False. Then you can open it with .ShowModal(); and it will work.

提交回复
热议问题