R
Ragid
Hi all,
In a previous I was offered to use Conytol.Invoke() from a thread to run
some code in the main GUI (thanks Pete for that), like in the following -
myNameSpace.myFormControl1.Invoke(myFormControl1.myDelegate);
Problem is that the code from where I want to call it is a dll which I also
pass as a reference in the IDE level(in visual studio 2005), so the
variables in the main GUI are unrecognized in the dll (to eliminate cross
reference). I thought about passing reference of the method Invoke when the
GUI calls one of the methods of the dll.
Problem is that I don't know how to pass this reference.
Can someone demonstrate on the example that I wrote above?
Regards
Ragid
In a previous I was offered to use Conytol.Invoke() from a thread to run
some code in the main GUI (thanks Pete for that), like in the following -
myNameSpace.myFormControl1.Invoke(myFormControl1.myDelegate);
Problem is that the code from where I want to call it is a dll which I also
pass as a reference in the IDE level(in visual studio 2005), so the
variables in the main GUI are unrecognized in the dll (to eliminate cross
reference). I thought about passing reference of the method Invoke when the
GUI calls one of the methods of the dll.
Problem is that I don't know how to pass this reference.
Can someone demonstrate on the example that I wrote above?
Regards
Ragid