I have run into a little problem, I have an XML document that I read controls from and instance them to a form. What I want to do is without if statements, cast a string color like "White" to System.Drawing.Color.
Any help would be greatly appreciated.
I am designing a program that grabs PictureBox information from an XML file and puts them on the form. I want to have an EventHandler that handles every PictureBox I create, which I have done. The problem is that in order to identify which PictureBox has been clicked I need to get the name.
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.