[Mono-winforms-list] NotifyIcon OnClick
n i c o
scalpmail+nabble at gmail.com
Sat Jan 3 06:17:26 EST 2009
I'm trying to port an application to mono and I'm facing a problem:
On Windows + .Net, when I click on a notifyIcon, I can cast the EventArgs
argument to a MouseEventArgs event in order to get which mouse button is
In Mono, the argumement cannot be cast. How do I do that ?
private void notifyIcon_Click(object sender, EventArgs e)
if (((MouseEventArgs)e).Button == MouseButtons.Left)
Thanks in advance,
View this message in context: http://www.nabble.com/NotifyIcon-OnClick-tp21263967p21263967.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list