Trouble Emulating Video Tutorial in Code Creator

  • Автор темы Автор темы fthomas137
  • Дата начала Дата начала

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
 
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

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