Change the Textbox height?

后端 未结 21 2252
心在旅途
心在旅途 2020-12-09 07:24

How do I change the height of a textbox ?

Neither of the below work:

this.TextBox1.Size = new System.Drawing.Size(173, 100);
         


        
21条回答
  •  长情又很酷
    2020-12-09 07:51

    for me, the best approach is remove border of the textbox, and place it inside a Panel, which can be customized as you like.

提交回复
热议问题