To resize font for a container in C#, you can use the following code:
main.cs161 chars5 lines
You can then call this method for every control that you want to resize its font within a container. For example, if you have a Panel
container:
main.cs120 chars5 lines
This will resize the font of all controls within the Panel
by a factor of 1.5
.
gistlibby LogSnag