作者: porly
查看: 7775|回复: 12
打印 上一主题 下一主题

[源码] 【控件停靠组件】仿VS代码停靠界面

[复制链接]
楼主
xixue 发表于 2021-3-23 16:08:00 | 显示全部楼层
没有任何错误,为什么dockpanel里面什么窗体都不加载呀?
private void MainForm_Load(object sender, System.EventArgs e)
        {
            string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "DockPanel.config");
            
            if (File.Exists(configFile))
                dockPanel.LoadFromXml(configFile, m_deserializeDockContent);
        }
窗体加载时的代码也是跟你一样,这里有什么要求吗
您需要登录后才可以回帖 登录 | 加入CSkin博客

本版积分规则

QQ|申请友链|小黑屋|手机版|Archiver|CSkin ( 粤ICP备13070794号

Powered by Discuz! X3.2  © 2001-2013 Comsenz Inc.  Designed by ARTERY.cn
GMT+8, 2024-5-30 15:54, Processed in 0.539698 second(s), 25 queries , Gzip On.

快速回复 返回顶部 返回列表