I need a Windows Dialog Form in C#.NET 2.0 (using Visual Studio 2005) for building a style attribute string. For example, In the Windows Dialog, there will be font name chooser, if "arial is choosen with font size=3 then the style string will be return like
Again, the dialog box should be able to parse any style attribute string and populate the Form. For examplem if the style string is provided as "font-face:arial; font-size=3;..." then, the font chooser combo box should show Arial, font size chooser should show number 3 etc, Please note, this style string parsing should be really smart so that, it can understand different styling string for same properties. (i.e., "font-name:verdana;font-size:2;" is equal to font: verdana, size 2: etc... )
Their will be a public property named StyleString of string type in this Dialog class so that it can return the style string anytime depends on the selected values in the GUI. And the dialog's constructor will take Style String to populate the Form.
I need the Style Builder exactly similar to the Visual Studio Html Page's Style Builder Gui. I have attached the screen shot of this dialog. The dialog UI coding should be smart so that, contorls will be enabled or disabled based on values provided by user.