Chris
Mon May 12 09:20:02 CDT 2008
Control.Invoke would also work.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
"Empi" <mpeleg@softstart.co.il> wrote in message
news:e$NJSrCtIHA.1240@TK2MSFTNGP02.phx.gbl...
> OK.
>
> Solved it.
> Thanks.
>
> Thread 1 "signal" the gui thread by setting a global parameter.
>
> Thanks.
>
> Empi
>
> "Empi" <mpeleg@softstart.co.il> wrote in message
> news:OsaekKBtIHA.524@TK2MSFTNGP05.phx.gbl...
>> Hi.
>>
>> I just developed a class that suppose to replace the MessageBox.Show.
>>
>> It create a panel with some additional elements (image/buttons/labels
>> etc).
>> I'm looking for the best way to add the panel to the calling form.
>>
>> I also have to handle different thread calls (thread I is calling me, and
>> I suppose to add the panel to the Gui thread).
>>
>> What is the best and nicest way of doing this?
>>
>> Thakns,
>>
>>
>> Empi
>>
>
>