开发者

Resizing and changing location of all labels,pictureboxes,panels,buttons to fit any screen

i am designing a game (using window forms) and need to resize everything (panels, labels, picture boxes, butt开发者_StackOverflow中文版ons, progress bars, ...) and change their location in order to fit in the screen of any size (dimensions) and resolution! the game is always in maximized state.


dock your controls to your form

desolator's comment: Specically, use a TableLayoutPanel with gui organized in rows and columns. Use Dock.Fill with everything, even with the panels and with the main panel. Notice that panels can be nested and dock.fill ed too

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜