Hii all,
Its my first thread on this forum. It seems great for solutions of programming problems.
I have created a Method which will accept the type of control and 4 defined property of control.
This method will create a control on the form and assign these 4 common properties on the control and it will put the created control on the form.
Now I want one more method which will allow user to assign the property which user want to assign
i.e.
This method should assign readonly property to textbox1 created on the form.
I think there is some method which allows to assign property dynamically.
Thanks in advance
Its my first thread on this forum. It seems great for solutions of programming problems.
I have created a Method which will accept the type of control and 4 defined property of control.
This method will create a control on the form and assign these 4 common properties on the control and it will put the created control on the form.
Now I want one more method which will allow user to assign the property which user want to assign
i.e.
Code:
SetProperty("TextBox1","ReadOnly","True")
I think there is some method which allows to assign property dynamically.
Thanks in advance
Comment