Lula

Lula

  • NA
  • 4
  • 0

how to manage onmouseup event on IHTLDocument2?

Jan 24 2007 5:22 AM
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