Souhad Alwan

Souhad Alwan

  • NA
  • 1
  • 1.8k

At runtime controls generation in .NET Compact Framework

Jun 30 2005 8:00 AM

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