设计者必须创建一个类型的实例 [英] The designer must create an instance of type

查看:81
本文介绍了设计者必须创建一个类型的实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当解决方案开始加载时,我会收到此消息.它是什么意思,我该怎么做才能摆脱它?

警告1设计者必须创建一个类型为"Excalibur.ExcaliburForm"的实例,但不能,因为该类型被声明为abstract.0 0

大家好,对不起,我没有说,但这是我使用C#为我编写的一个名为Excalibur的应用程序,它并不完整.我已经从编写它的人那里得到了源代码,而他使用的是2008版本.我下载了2010版的C#,并且必须进行转换.当我尝试打开解决方案时,我得到警告:解决方案中的一个或多个项目未正确加载.有关详细信息,请参见输出窗口.

输出窗口指出:警告1设计人员必须创建一个类型为"Excalibur.ExcaliburForm"的实例,但不能,因为该类型被声明为abstract.0 0

When the solution starts loading I get this message. what does it mean and what must I do to get rid of it?

Warning 1 The designer must create an instance of type ''Excalibur.ExcaliburForm'' but it cannot because the type is declared as abstract.0 0

Hi all, sorry I did not say, but this is an application I was having written for me in C#, called Excalibur, and it is not complete. I have gotten the source code back from the person who was writing it, and he was using a 2008 version. I downloaded the 2010 version of C#, and had to do a conversion. when i try to open the solution, I get the warning: One or more projects in the solution were not loaded correctly. Please see the output window for details.

The output window states:Warning 1 The designer must create an instance of type ''Excalibur.ExcaliburForm'' but it cannot because the type is declared as abstract.0 0

推荐答案

我在Google搜索中找到了它:

使用抽象继承设计Windows窗体 [ ^ ]

神剑的声音听起来像是第三方库,因此此链接可能有帮助,也可能没有帮助.您可以随时尝试询问神剑的作者...
I found this with a google search:

Designing Windows Forms With Abstract Inheritance[^]

Excalibur sounds like a 3rd party library, so this link may or may not help. You could always try asking the Excalibur authors...


这篇关于设计者必须创建一个类型的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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