ToolStripContainer在WinForms中保存布局
-
14-11-2019 - |
题
嗨 我目前使用ToolStripContainer [WinForms,C#]中包含的禁忌仪。我想做的是,保存这些选项卡的布局并在加载表单时再次加载它们。我很惊讶地发现,它没有明确发展。
如果有人可以帮助我,那将是伟大的。
感谢您的时间和耐心。
关于 Gagan Janjua
解决方案
ToolstripManager seems to solve the problem. The only issue ( i.e. bug in VS2010, as i have found out ) is that the settings are only persisted when the toolstrips are contained in different ToolstripContainers. If they are in the same parent, the layout is not persisted.
Thanks
不隶属于 StackOverflow