how to “dock”/attach winforms forms

后端 未结 2 1089
旧巷少年郎
旧巷少年郎 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...

    0 讨论(0)
  • 2021-01-07 02:22

    found the solution http://www.codeproject.com/KB/cs/stickywindows.aspx posting here for others

    0 讨论(0)
提交回复
热议问题