“隐藏" COM组件 [英] "Hidden" COM Component

查看:75
本文介绍了“隐藏" COM组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个复杂"表格,我曾经(大概很久以前)曾经将旧版本的Com Component拖到该表格上.
将组件移动到表单上众多面板之一的后面可能很容易-此时使它不可访问" ...
我曾尝试将面板移至后台,依此类推-但是票价没有任何成功

我可以在
表单的模块中看到指向它的链接

I have a "complex" form where I once (probably a long time ago) must have dragged an older version of a Com Component onto.
It could be easy to have moved the Component behind one of the numerous panels on the form - making it "inaccessible" at this point ...
I have tried to move panels to the background and so on - but so fare without any success

I can see the link to it in the Module for the form,

Me.AxMintController1 = New AxMintControls5624Lib.AxMintController()


但我无法在表单本身上找到实际的组件(我想将其删除:-))

有什么建议吗?
表单上所有组件是否都有某种列表视图,所以我可以选择它?
我正在使用Studio 2010
最好的问候

[从答案中移出]
这本来不是我的下一步-但这样做时确实遇到了一些问题(我们可能所有人都有Smile | :)

我想我的下一个问题是:

实际将COM组件的"Grafical"部分连接到Module条目的是什么?还是其他方式=首先对模块进行了评选,其形式实际上只是模块中组件的图形表示? -似乎应该把这两者连接在一起..

Georg


but I can not locate the actual Component on the Form Itself (I''d like to delete it :-))

Any suggestions ?
Is there some sort of a list view of all components that are on the form so I can select it ??
I''m using Studio 2010
Best regards

[Moved from Answer]
This would haven been my next step - but I did run into some issues befor when doing so (We probabaly all have Smile | :)

I guess my next question would be :

What actually connects the "Grafical" portion of the COM Component to the Module entries ?? or is it the otherw ay around = The Module get''s laoded first and the form is actaully just a grafical representation of the components in the Module ?? - It just seems there shoudl eb soemthing else thats connecting the two ..

Georg

推荐答案

如果您放置的组件应该在表单上显示UI,则可以通过在表单上单击一次然后在下拉菜单中轻松找到它即使在窗体上不可见,也可以选择属性"窗口顶部的框,然后按Del键将其删除.
If the component you dropped is supposed to show a UI on the form, you can easily find it by clicking once on the form, then in the drop down box at the top of the Properties window you can select your component, even if it''s not visible on the form, and delete it by hitting the Del key.


您可以删除它从Designer.vb文件中.首先,在解决方案资源管理器中选择显示所有文件",然后打开窗体Designer.vb.您可以手动编辑控件及其引用.

注意:由于这是自动生成的文件,因此进行备份是个好主意,然后再进行任何修改

在比Express更好的VS版本中,也有类似浏览器的树,您可以使用它来查看所有UI元素.现在无法记住它的名称,但是您可以在查看"菜单下激活它.
You can remove it from the Designer.vb file. First in your solution explorer select "Show all files" and then open the forms Designer.vb. You can manually edit the control and the references to it.

Note: Since this is auto-generated file, it''s a good idea to take a backup before you make any modifications

Also in better editions of VS than Express there''s a tree like browser which you can use to see all UI elements. Can''t right now remember the name of it but you can activate it under the View menu.


这篇关于“隐藏" COM组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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