当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - One of my control is not showing in intellisense

问题描述:

I have two split containerss in my VB.NET WinForm SplitContainer1 and SplitContainer2, however i renamed my Splitcontainer1 to SC1 and now its not showing in intellisense while coding, also when i type in manually it gives me error.

So i finally, rolled back to the previous name i.e. from SC1 to again SplitContainer1 and still it is not showing up. What would be the possible reason and how can i fix it. As my SplitContainer2 is working fine and it is accessible through code window.

One more thing my SplitContainer1 is also assailable through design mode.

EDIT:

When i use SplitContainer1 in code window it says Error 1 'SplitContainer1' is not declared. It may be inaccessible due to its protection level.

I don't know whats happening as when i try to add another SplitContainer to the form with the name SplitContainer1 it says that it is already used in form.

分享给朋友:
您可能感兴趣的文章:
随机阅读: