+ 1

How to chang the textbox size by using button in c# form ?

for example when i click the maximizebutton the textbox be larger and when minimizebotton textbox be smaller

24th May 2018, 2:05 PM
Saman M Dusky
Saman M Dusky - avatar
5 odpowiedzi
+ 1
if you want to resize the button when the form is resizing have a look at "anchors"
25th May 2018, 9:16 PM
sneeze
sneeze - avatar
+ 1
Then you to set need width and height as Tom Dooley said.
27th May 2018, 7:01 PM
sneeze
sneeze - avatar
0
give the textbox properties width and height a try.
24th May 2018, 2:48 PM
Tom Dooley
Tom Dooley - avatar
0
sneeze i want to resize the textbox when i click the button
27th May 2018, 8:29 AM
Saman M Dusky
Saman M Dusky - avatar
0
sneeze i will try ,thnx
28th May 2018, 12:48 AM
Saman M Dusky
Saman M Dusky - avatar