无法选择由devcomponents .dll添加的控件 [英] Can't select controls added by devcomponents .dll

查看:364
本文介绍了无法选择由devcomponents .dll添加的控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 7家庭高级版64位上使用Visual Studio Express 2012 for Desktop。

我最近购买了这台电脑,并从我原来的电脑上传输了我的所有文件。

我假设有什么东西搞砸了,但我没有旧的版。

我从我的项目中删除它,然后将DevComponents DLL重新添加到我的资源中,就像我一直以来一样,清理解决方案,退出程序,重建它,但它仍然没有允许我选择/编辑DevComponents添加的任何控件。



- >不,表格没有锁定。

- >表格上有一个常规的TreeView,我可以选择。

- >我可以在表单中添加普通按钮/控件并选择它们。

- >这几乎就好像旧表单只是一个背景图片。

Hi, I'm using Visual Studio Express 2012 for Desktop on Windows 7 Home Premium, 64-Bit.
I recently purchased this computer and transferred all my files from my old computer.
I'm assuming something got messed up in the switch but I don't have the old version.
I removed it from my project, then re-added the DevComponents DLL to my resources the same way I always have, cleaned the solution, exited out of the program, rebuilt it and it still doesn't allow me to select/edit any of the controls added by DevComponents.

-> No, the form isn't locked.
-> There's a regular TreeView on the form that I can select.
-> I can add normal buttons/controls to the form and select them.
-> It's almost as if the old form is merely a background image.

推荐答案

只是有同样的问题,令人沮丧,但设法修复它。



如果您将表单样式更改为此类 -

Just had the same issue, so frustrating, but managed to fix it.

If you changed the form style to something like this -
Form1 : DevComponents.DotNetBar.Office2007Form





将其更改为再次继承表格。重建,打开你的设计师,你应该能够选择控件。

将它改回Office2007Form。



工作正常。



希望这能帮到你。



Change it back to inherit Form again. Rebuild, open you designer and you should be able to select controls.
Change it back to the Office2007Form.

Worked fine for me.

Hope this helps you out.


这篇关于无法选择由devcomponents .dll添加的控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆