C#/.NET - WinForms - Instantiate a Form without showing it

前端 未结 18 1742
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 18:29

I am changing the Visibility of a Form to false during the load event AND the form still shows itself. What is the right event to tie this.Visible = false; to? I\'d like to

18条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-05 18:49

    Just create an instance of Form1 and do not call methods to show/display it. But I bet you're doing something wrong.

提交回复
热议问题