msx

msx

  • NA
  • 3
  • 0

Drawing controls from xmlfile

Feb 11 2007 11:55 AM
Hi Folks, I am writing a windows forms application. In this application I have a config(xml) file which contains the information about the controls. See the sample below. I want to be able to draw these controls from this xml file. also the code should be flexible enough to draw any new control i add to my xml file.

control type="Label" id="label1" width="23" height="23" xPos="117" yPos="100"
control type="TextBox" id="textBox1" multiline="false" width="143" height="23" xPos="117" yPos="50"
control type="Button" id="button1" width="23" height="23" xPos="100" yPos="100"

Your help will be much appreciated.

Answers (2)