如何在WinForm的中心设置的控制?如何在、中心、WinForm

2023-09-03 12:57:49 作者:我最大的缺點就是缺點妳

您好我想在窗体的中心设置控件(如标签或文本框)。我需要这个,而我最大的形式。我可以静态或动态进行设置。任何人都有一个想法比请告诉我尽快...

Hello I am trying to set controls(i.e. Label or Textbox) on center of the form. I need this while i maximize that form. Can i set it statically or dynamically. Anyone have an idea than please tell me asap...

推荐答案

将控制在中央,设置属性

Place the control on the center and set Anchor property to None.

 
精彩推荐
图片推荐