how to “dock”/attach winforms forms

后端 未结 2 1088
旧巷少年郎
旧巷少年郎 2021-01-07 02:13

I\'d like to attach two forms within the same app to each other like done by some of the music players such as winamp where the windows can be detached or attached together

2条回答
  •  礼貌的吻别
    2021-01-07 02:21

    Have a look at this question

    This is for snapping to desktop edges, but you can probably adapt it to snap to another window...

提交回复
热议问题