2014-07-18 14:09:52 +08:00
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
|
|
|
|
|
namespace Wox.Plugin.SystemPlugins.ControlPanel
|
|
|
|
|
{
|
|
|
|
|
//from:https://raw.githubusercontent.com/CoenraadS/Windows-Control-Panel-Items
|
|
|
|
|
public class ControlPanelItem
|
|
|
|
|
{
|
|
|
|
|
public string LocalizedString { get; private set; }
|
|
|
|
|
public string InfoTip { get; private set; }
|
|
|
|
|
public ProcessStartInfo ExecutablePath { get; private set; }
|
|
|
|
|
public Icon Icon { get; private set; }
|
|
|
|
|
public int Score { get; set; }
|
|
|
|
|
|
2014-07-19 02:15:35 +08:00
|
|
|
|
public ControlPanelItem(string newLocalizedString, string newInfoTip, ProcessStartInfo newExecutablePath, Icon newIcon)
|
2014-07-18 14:09:52 +08:00
|
|
|
|
{
|
|
|
|
|
LocalizedString = newLocalizedString;
|
|
|
|
|
InfoTip = newInfoTip;
|
|
|
|
|
ExecutablePath = newExecutablePath;
|
2014-07-19 02:15:35 +08:00
|
|
|
|
Icon = newIcon;
|
2014-07-18 14:09:52 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|