2014-07-18 06:09:52 +00:00
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
|
|
2015-01-03 07:20:34 +00:00
|
|
|
|
namespace Wox.Plugin.ControlPanel
|
2014-07-18 06:09:52 +00:00
|
|
|
|
{
|
|
|
|
|
|
//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 12:31:19 +00:00
|
|
|
|
public string GUID { get; private set; }
|
2014-07-18 06:09:52 +00:00
|
|
|
|
public ProcessStartInfo ExecutablePath { get; private set; }
|
|
|
|
|
|
public Icon Icon { get; private set; }
|
|
|
|
|
|
public int Score { get; set; }
|
|
|
|
|
|
|
2014-07-19 12:31:19 +00:00
|
|
|
|
public ControlPanelItem(string newLocalizedString, string newInfoTip, string newGUID, ProcessStartInfo newExecutablePath, Icon newIcon)
|
2014-07-18 06:09:52 +00:00
|
|
|
|
{
|
|
|
|
|
|
LocalizedString = newLocalizedString;
|
|
|
|
|
|
InfoTip = newInfoTip;
|
|
|
|
|
|
ExecutablePath = newExecutablePath;
|
2014-07-18 18:15:35 +00:00
|
|
|
|
Icon = newIcon;
|
2014-07-19 12:31:19 +00:00
|
|
|
|
GUID = newGUID;
|
2014-07-18 06:09:52 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2014-12-28 07:17:58 +00:00
|
|
|
|
}
|