Results 1 to 6 of 6

Thread: Control property dymicaly assignment

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2006
    Location
    UAE
    Posts
    191

    Question Control property dymicaly assignment

    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.
    Code:
    SetProperty("TextBox1","ReadOnly","True");
    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
    Last edited by ishrar; Nov 5th, 2008 at 06:16 AM.
    Each New Difficulty Is Best Opportunity,
    If You Ignore Solving It,
    You Lost Your Life's Best Opportunity.
    _______________________________________
    Dynamic Property value assignment - C#
    TCP client/server connection

    CatchIt-Game
    Fortunes
    SQL Tutorials

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width