0
Answer

how to manage onmouseup event on IHTLDocument2?

Lula

Lula

18y
1.9k
1
Hi, what's wrong in this code? ******************************************************** IHTMLDocument2 doc=(IHTMLDocument2)Explorer.Document; doc.onmouseup+=new MouseEventHandler(MouseUp); public void MouseUp(object sender, MouseEventArgs e) { MessageBox.Show("mouseUp"); } ****************************************************** The error discovered was: Impossible to apply the operator '+=' to operands of type 'object' and 'System.Windows.Forms.MouseEventHandler'. ***************************************************** Please something helping me ? Thanks in advance Lula