Resize Controls When Form Resize

后端 未结 3 1539
时光说笑
时光说笑 2020-12-20 03:52

I just wondering about my windows Application. When i re-size windows form that time my Form controls should re-size. Can any body tell me how to do this I have Used Anchor

3条回答
  •  情歌与酒
    2020-12-20 04:36

    You have to use the anchor property in properly. For example, for DataGridview to resize in its all direction, you have to set its anchor property as Top, Bottom, Left, Right

    You have to set the anchor property suitably for each controls in the form as per your requirement.

    Hope this helps.

提交回复
热议问题