void ni_MouseClick(object sender, MouseEventArgs e) { // Handle mouse button clicks. if (e.Button == MouseButtons.Left) { window.openWebinterface(); } }
void WebInterface_Click(object sender, EventArgs e) { window.openWebinterface(); }