Change the Textbox height?

后端 未结 21 2201
心在旅途
心在旅途 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 08:02

    the Simplest Way to do that

    1.. right click on the textbox

    2.. go to property

    set Multiline =True

    now done it will Automatically Change the Size of TextBox

    and you can also Customize that

提交回复
热议问题