Automatic Resizing of Buttons in Windows Forms using C# _ Part6(Final)

preview_player
Показать описание
In this tutorial series, we show how to automatically resize the buttons and other controls on a form when the user resizes the form.
This is the 6th and last video of the series.
Рекомендации по теме
Комментарии
Автор

A new tutorial is now up where we show how to achieve the same auto resizing for Texts. So when your button automatically resizes, the Text on it also automatically resizes along with it.

OutsidePawn
Автор

wawooo..great tutorial.Thank you so much sir.

ShanikaPremathilakeupsnp
Автор

Good, Great Tutorial, that logic Genius.

dionisiusadjinugroho
Автор

Gret tutorial! Thank you very much for your time!

SuaPablo
Автор

my buttons become invisible when i run this code, why? win i ran the form, it was missing

beebop
Автор

Duude awesome job, this is what i was trying to do in my app, but with no luck cuse when i used :ex anchor all the combinatiosns it will once get a giant button or get a giant width ..Can you tell me how the code will be in visual studio c++?
i really neef this code thnks.

vasilis
Автор

Great video. How can resize button1.Text ?

BarnaKadar
Автор

Sorry sir, i followed your tutorial, but i found that the events of Resize was running before the form load, and the Rect of the controls could not be created... could you please to tell me how to solve this problem?

duylamnguyenbuu
Автор

i just noticed that the Rectangle originalControlRect doesn't have any value to be use in operation, is that it?

beebop
Автор

good work, but i guess you can simply use the anchor n docking properties to set this!!

williokine
Автор

BRo how to dynamic button resizing in run time can yu tell me

DanishAli-jgjc
Автор

Almost a hour of video for effective 5 minutes of work...🤦‍♂

PrinzMidas
Автор

Hello. Im having arthmetic operation overflow error in last operation

GoAwwShorts
Автор

I would suggest using ClientSize instead of the actual size for calculating the ratios because it would be more precise as the controls "live" inside the client space and not the entire space

P.S: You can see this in action when you try to resize a control the size of the entire client size, if you resize it a little bit of the lower part will not grow and shrink accordingly

joni.r
Автор

My controls become invisible while I try to run the program

MuhammadAmir-phmd
Автор

please teach me how to do it using vb pleaseeee

munylou
visit shbcf.ru