i am asking for answers and not lectures from you guys
-
I am iterating through all properties for all controls on that form but the properites related to extendercontrol just not dispalyed here, although when I go to Visual stuio designer, these propeties are showing up for each individual control within that form and I am just wondering if there is something wrong I am doing with reflection code.
ControlCollection Controls = (ControlCollection)this.Controls;
foreach (Control ctl in Controls)
{
Type t = ctl.GetType();PropertyInfo\[\] PIs = t.GetProperties(); foreach (PropertyInfo PI in PIs) { Console.WriteLine(PI.Name); } }
-
I am iterating through all properties for all controls on that form but the properites related to extendercontrol just not dispalyed here, although when I go to Visual stuio designer, these propeties are showing up for each individual control within that form and I am just wondering if there is something wrong I am doing with reflection code.
ControlCollection Controls = (ControlCollection)this.Controls;
foreach (Control ctl in Controls)
{
Type t = ctl.GetType();PropertyInfo\[\] PIs = t.GetProperties(); foreach (PropertyInfo PI in PIs) { Console.WriteLine(PI.Name); } }
-
imak wrote:
Its not a repost
Then add the extra information to your original question, do not delete it and start a new thread.
It's time for a new signature.
-
No your asking us to do your work for you. D@nish gave you a perfectly valid answer: it is possible. You can't expect people here to just write the code for you, we all donate our time for free here. If you want somebody else to write your program then go and hire yourself a programmer and pay him. If you want our help you'll have to proof to us that you at the very least tried to do it yourself (so post you code and where your stuck or have an error).