G
Guest
Hi,
I have a question about creating multiple controls in my .net CF app.
The main section of the client works by dynamically creating controls onto a
Dialog panel, as specified in a pre-defined config file which determines the
layout for each screen. When a new screen is requested, the current controls
on the panel are disposed and then the new screen layout objects are loaded
and turned into controls and displayed on top of our Panel. This works well
for a period of time, but as usage continues begins to slow down until it
takes a few seconds to show each new screen. At the moment I am
investigating whether this is caused by the redrawing process, as the
background functionality does not appear to be slowing significantly. This
dialog is maintained throughout the life of the app.
Does anyone have any ideas as to why this may be, or if you require further
info then please just let me know.
Thanks!
I have a question about creating multiple controls in my .net CF app.
The main section of the client works by dynamically creating controls onto a
Dialog panel, as specified in a pre-defined config file which determines the
layout for each screen. When a new screen is requested, the current controls
on the panel are disposed and then the new screen layout objects are loaded
and turned into controls and displayed on top of our Panel. This works well
for a period of time, but as usage continues begins to slow down until it
takes a few seconds to show each new screen. At the moment I am
investigating whether this is caused by the redrawing process, as the
background functionality does not appear to be slowing significantly. This
dialog is maintained throughout the life of the app.
Does anyone have any ideas as to why this may be, or if you require further
info then please just let me know.
Thanks!