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; }
|
2014-07-19 20:31:19 +08:00
|
|
|
|
public string GUID { get; private set; }
|
2014-07-18 14:09:52 +08:00
|
|
|
|
public ProcessStartInfo ExecutablePath { get; private set; }
|
|
|
|
|
public Icon Icon { get; private set; }
|
|
|
|
|
public int Score { get; set; }
|
|
|
|
|
|
2014-07-19 20:31:19 +08:00
|
|
|
|
public ControlPanelItem(string newLocalizedString, string newInfoTip, string newGUID, 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-19 20:31:19 +08:00
|
|
|
|
GUID = newGUID;
|
2014-07-18 14:09:52 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|