Auto Resize Controls Based On Resize Form: demonstrates how to do it using Winforms C#

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone I am soharab and this is a winform application to show you a auto resize of controls based on the form I have even Form application with several controls on it for sample and this is a text box and button and radio button and other controls and now I want to add code in behind of this form to resize the control based on the resize of 4. firstly I Define several rectangle each rectangle is is for each button and also I Define a resize event of the form and I feel the rectangles based on these codes for each button I fill the rectangle with location and size and also in the resize events a form I call the method with button and its rectangles with controls and its rectangle and in the resize method I use these codes I will put the link of these codes in the description of the video and okay now I should run the project and show the result to you it takes a bit time I resize the form based on the form the controls the winner size but the text voice didn't resize in Haze it's resized just in Wise and I should add this line of code multi-line text box then the text box will resize in a haste okay now I want to change the size of four and this Haze of the text box will change okay thank you for watching this video please like the video and subscribe the channel to get more video bye
Info
Channel: C# Exercises
Views: 18,969
Rating: undefined out of 5
Keywords: c# resize controls, c# resize form, autosize control in winforms, auto resize controls windows form c#, autoresize form in c# winforms, auto size controls in windows form, how to controls adjust all screens, auto size controls c#, automatic form size, how to resize form controls, resizable form cantrols, form size for all screen size, responsive windows form c#, responsive windows application, c# windows form for all screen sizes, resizable controls in windows forms, c# forms
Id: Em7rva4tghE
Channel Id: undefined
Length: 2min 46sec (166 seconds)
Published: Mon Nov 14 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.