Hii all,
Something I want, which seems like short cut way.
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.Code:SetProperty("TextBox1","ReadOnly","True");
I think there is some method which allows to assign property dynamically.
Thanks in advance![]()
![]()




Reply With Quote