'How to Hide Form on Load
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Tim1.Tick
Me.Hide()
NotifyIcon1.ShowBalloonTip(3000, "Your Program Here", "Click here to Show ...", ToolTipIcon.Info)
If Me.Visible = False Then
Timer1.Enabled = False
End If
End Sub
ไม่มีความคิดเห็น:
แสดงความคิดเห็น