Update Control Panel

The Control Panel now also includes third party panel items.
This commit is contained in:
Coenraad Stijne
2014-07-18 20:15:35 +02:00
parent 2a86b06e0c
commit 102d5fdd7f
4 changed files with 221 additions and 157 deletions

View File

@@ -8,18 +8,16 @@ namespace Wox.Plugin.SystemPlugins.ControlPanel
{
public string LocalizedString { get; private set; }
public string InfoTip { get; private set; }
public string ApplicationName { get; private set; }
public ProcessStartInfo ExecutablePath { get; private set; }
public Icon Icon { get; private set; }
public int Score { get; set; }
public ControlPanelItem(string newLocalizedString, string newInfoTip, string newApplicationName, ProcessStartInfo newExecutablePath, Icon newLargeIcon)
public ControlPanelItem(string newLocalizedString, string newInfoTip, ProcessStartInfo newExecutablePath, Icon newIcon)
{
LocalizedString = newLocalizedString;
InfoTip = newInfoTip;
ApplicationName = newApplicationName;
ExecutablePath = newExecutablePath;
Icon = (Icon)newLargeIcon.Clone();
Icon = newIcon;
}
}
}