Normal
OK, this has had me stumped for a while, I am only trying to add an Icon It keeps telling me that "The type or namespace name 'PluginIcons' could not be found (are you missing a using directive or an assembly reference?)"I have the following code (I am just copy pasting the first section):[CODE]using System;using System.Windows.Forms;using MediaPortal.GUI.Library;using MediaPortal.Dialogs;using MediaPortal.Configuration;namespace mptransmission{ [PluginIcons("mptransmission.Icon.png", "mptransmission.Icon_Disabled.png")] public class mptransmission : GUIWindow, ISetupForm, IPlugin { [SkinControlAttribute(2)] protected GUIButtonControl buttonOne = null; [SkinControlAttribute(3)] protected GUIButtonControl buttonTwo = null; public mptransmission() { }[/CODE]But I cannot see any PluginIcons inside MediaPortal.Configuration Am I doing something stupid? Sorry, new to all this and learning!
OK, this has had me stumped for a while, I am only trying to add an Icon
It keeps telling me that "The type or namespace name 'PluginIcons' could not be found (are you missing a using directive or an assembly reference?)"
I have the following code (I am just copy pasting the first section):
[CODE]
using System;
using System.Windows.Forms;
using MediaPortal.GUI.Library;
using MediaPortal.Dialogs;
using MediaPortal.Configuration;
namespace mptransmission
{
[PluginIcons("mptransmission.Icon.png", "mptransmission.Icon_Disabled.png")]
public class mptransmission : GUIWindow, ISetupForm, IPlugin
[SkinControlAttribute(2)]
protected GUIButtonControl buttonOne = null;
[SkinControlAttribute(3)]
protected GUIButtonControl buttonTwo = null;
public mptransmission()
}[/CODE]
But I cannot see any PluginIcons inside MediaPortal.Configuration Am I doing something stupid? Sorry, new to all this and learning!