0
Answer

At runtime controls generation in .NET Compact Framework

Souhad Alwan

Souhad Alwan

19y
1.8k
1

Hi everybody,

I am working on a PDA project and the user interface (UI) should be constructed by reading XML files (XMLTextReader) and upon the contents creating the approperate Contols.

The problem is on the following areas:

1. How to adapt the perant-child relationships between controls obtained from XML file and set them(since .net Compact Framework does not support Name property in Control class)

2. Connecting event handlers is not a problem but how to access within the event handler another controls  (not the sender) which will be created in runtime.

Every reply is welcomed!

Thanks in advance for the effort.

Souhad