M
Mat Dietrich
Hi
We are implementing an application that uses arround 20 different screens.
We first tried to swap forms, which doesn't seem to make sense on the
PocketPC,
as they run in different processes.
Next we tried to use one form and to add and remove Panels.
This seems to work fine.
To speed up building screens we tried to rebuild panels and store them in a
Hashtable.
This is failing.
It seems not to be possible to store Controls in a Hashtable and switch them
in and out.
We have a valid reference, but when we add the Control to the form we get a
dakrblue screen.
Do we have to ask the framework to repaint or invalidate?
What is the best practise creating applications with multiple screens?
Thanks
Mat
We are implementing an application that uses arround 20 different screens.
We first tried to swap forms, which doesn't seem to make sense on the
PocketPC,
as they run in different processes.
Next we tried to use one form and to add and remove Panels.
This seems to work fine.
To speed up building screens we tried to rebuild panels and store them in a
Hashtable.
This is failing.
It seems not to be possible to store Controls in a Hashtable and switch them
in and out.
We have a valid reference, but when we add the Control to the form we get a
dakrblue screen.
Do we have to ask the framework to repaint or invalidate?
What is the best practise creating applications with multiple screens?
Thanks
Mat