Люди как сворачивать программу не в панель задач, а в трей
Поиск не работает, а руками искать времени нет...помогите...плиз
Private Sub NotifyBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NotifyBtn.Click
NotifyIcon1.ContextMenu = ContextMenu1
NotifyIcon1.Icon = New Icon("..\MyIcon.ico")
Me.Visible = False
End Sub
Private Sub RemoveBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RemoveBtn.Click
NotifyIcon1.Icon = Nothing
End Sub
Private Sub ExitBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitBtn.Click
NotifyIcon1.Dispose()
end
End Sub
Private Sub RemoveMnu_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RemoveMnu.Click
NotifyIcon1.Icon = Nothing
Me.Visible = true
End Sub
Private Sub ExitMnu_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitMnu.Click
NotifyIcon1.Dispose()
End
End Sub
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 37