Hello.

I am writing program in VB 2003 .Net and Framework .Net 1.1

I'm using NotifyIcon class without form.

Private WithEvents _niTray As System.Windows.Forms.NotifyIcon

Private Sub _niTray_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles _niTray.Click

Console.WriteLine("{0} {1}", sender.ToString, e.ToString)

End Sub

How i can detect which mouse buttons (left or right) cliks?

Thanks for help

Krzysztof