I got an event from special API I'm working with, the event I'm working with is defined as

```
public event EventHandler<QuoteEventArgs> OnQuote

public class QuoteEventArgs : EventArgs

```

so what I'm trying to do is attach a method to run when I got a new `Quote` listening to this event.

so what I do is:

```
myInstance.OnQuote += new EventHandler<QuoteEventArgs>(doThis);

```

And the method is defined as:

```
public void doThis(object sender, QuoteEventArgs e){

//code here..

}

```

The error I get is:

> 
> Cannot implicity convert type `'System.EventHandler<MT4API.QuoteEventArgs>'` to `'System.EventHandler'`
> 
> 
> 

but I don't seem to have a special eventHandler on the API either, so not quite sure how to make that work.