how to manage onmouseup event on IHTLDocument2?

csharp Italy
  • 14 years ago
    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



Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Walking on water and developing software from a specification are easy if both are frozen.” - Edward V Berard