.NET CF 2003 composite controls

J

joe

Hello everybody,

i am new to CF 2003 and i have been doing research
on Composite controls ... i am currently looking
for tutorials on Composite controls but some seem
out-dated and do not apply to CF 2003. What I want
to do is create a GUI (form/panel) as a composite
control and add it to my MainForm .. the MainForm
would then show and hide the controls when needed.

Any suggestions?
thanks in advance,
joe jefferies
 
T

Tim Wilson [MVP]

As the UserControl class does not exist in the CF you will need to create a
custom control that derives from Control (or Panel if you like). You can
then add other controls to this control yourself. If you look at the
designer generated code you can see how to create an instance of a control
and parent it to another control. What type of composite control are you
planning to build?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top