c# - resize button controls on windows form to fixed size as per screen resolution -
i have specific requirement -in size of buttons on form should remain of particular size @ different screen resolution.
example seen in above form, have buttons "on" , "off" & size of both buttons 2 cms particular resolution.
now need code re-sizes buttons 2 cms different resolution or size of button should remain same @ different resolution.
thanks
the question seems "how make windows form resolution independent?". btw, there lot of examples given in internet make form resolution independent. unfortunately .net doesn't provide kind of facility make application common resolutions. but, there no 1 correct way.
i have posted logic this. can check out.
you need add code windows form.
Comments
Post a Comment