Trouble Emulating Video Tutorial in Code Creator

fthomas137

Client
Регистрация
18.06.2011
Сообщения
91
Благодарностей
11
Баллы
0
Hey all,

Quick problem. I'm trying to emulate the use of message boxes in code creator and I've hit a snag. I add the reference for system.windows.forms and then try to do a build and I get the following error:

'HtmlElement' is an ambiguous reference between 'Zennolab.CommandCenter.HtmlElement' and 'System. Windows.Forms.HtmlElement'.

Any ideas?

Frank
 

shade

Client
Регистрация
19.11.2010
Сообщения
580
Благодарностей
346
Баллы
63
Assembly System.Windows.Forms contains the HtmlElement class and assembly Zennolab.CommandCenter contains the HtmlElement class.

To fix this error you can in your code to the declaration variable of HtmlElemet type add Zennolab.CommandCenter.

Zennolab.CommandCenter.HtmlElement he;
 
  • Спасибо
Реакции: fthomas137

fthomas137

Client
Регистрация
18.06.2011
Сообщения
91
Благодарностей
11
Баллы
0

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)