P
Piotrek \Alchemik\
I have small problem with my project for Windows Ce, i'm using some threads and
i'd like them to paint something on my form. The problem is, that only way i can
do that is using invoke, unfortunetly in compact framework there is no way how
to pass parameters through invoke. I was trying to create a small class
with a public method (the delegate), and a few public properties (the
parameters).
-Instantiate the class
-set the properties
-Call Form.Invoke and pass it a reference to the class' public method
when the delegate gets called, your code can then reference the
properties you set but it didn't work as well. Maybe there is a way to do that
in different way?
Thanks a lot
i'd like them to paint something on my form. The problem is, that only way i can
do that is using invoke, unfortunetly in compact framework there is no way how
to pass parameters through invoke. I was trying to create a small class
with a public method (the delegate), and a few public properties (the
parameters).
-Instantiate the class
-set the properties
-Call Form.Invoke and pass it a reference to the class' public method
when the delegate gets called, your code can then reference the
properties you set but it didn't work as well. Maybe there is a way to do that
in different way?
Thanks a lot