[Mono-devel-list] Use of BeginInvoke

Raúl Moratalla raul.moratalla at ono.com
Thu Aug 12 09:41:31 EDT 2004


Hi everybody. I don't know if this is the correct list for post this.
I'm doing the gtk# version of a windows.form program written in .NET. 
This program uses the Invoke method: this.Invoke (parameters).
As I am a newbie programmer in .NET and MONO I don't know hot to do this 
in MONO. I think that I should use 
System.ComponentModel.ISynchronizeInvoke.Invoke but I don't know how to 
do it.
I do something like this:
ISynchronizeInvoke.Invoke(new SearchEvent(m_OnNewSearched),new object[] 
{file,searchID});

Bu I get the following error:
An object reference is required for the non-static field `Invoke'(CS0120)

Any kind of help would be very appreciated. Does anyone knows about any 
application that uses it? The best example for learning is source code.

Best regards,

Raúl



More information about the Mono-devel-list mailing list