Define Winform Control in XML file
-
Hi, My requirement is like I have to create control at run time by reading Control definition from XML file. I have achived to read control from XML file create it dynamically. Problem is I have to define hundreds of controls, is there any tool avalable to convert Controls(like textbox, button, ComboBox,..etc) in to xml file. I mean to say properties of Control should be the attributes of a Control element in XML file. Please help me in this regard ASAP. Thanks Zaheer Zaheer
-
Hi, My requirement is like I have to create control at run time by reading Control definition from XML file. I have achived to read control from XML file create it dynamically. Problem is I have to define hundreds of controls, is there any tool avalable to convert Controls(like textbox, button, ComboBox,..etc) in to xml file. I mean to say properties of Control should be the attributes of a Control element in XML file. Please help me in this regard ASAP. Thanks Zaheer Zaheer
Why dont you create serializable versions of the controls you need and simply push them through an XMLSerializer? Cheers Sid
-
Why dont you create serializable versions of the controls you need and simply push them through an XMLSerializer? Cheers Sid
-
Hi, My requirement is like I have to create control at run time by reading Control definition from XML file. I have achived to read control from XML file create it dynamically. Problem is I have to define hundreds of controls, is there any tool avalable to convert Controls(like textbox, button, ComboBox,..etc) in to xml file. I mean to say properties of Control should be the attributes of a Control element in XML file. Please help me in this regard ASAP. Thanks Zaheer Zaheer
The only tool I know of is the MyXaml serializer[^] but that generates MyXaml xml mark-up. Michael CP Blog [^] Development Blog [^]