How to have an invisible start up form?

前端 未结 7 2120
眼角桃花
眼角桃花 2020-12-17 16:43

I have an application that is a part of a solution of projects. In this project I would like for it to start up form to be invisible, but still have a notification icon in t

7条回答
  •  余生分开走
    2020-12-17 17:47

    Use Me.Opacity = 0 to hide the form on load event.

    Then use the following code in the form.Shown event

    Me.Hide()
    Me.Opacity = 100
    

提交回复
热议问题