PowerToys/Plugins/Wox.Plugin.ControlPanel/ControlPanelItem.cs

25 lines
887 B
C#
Raw Normal View History

2014-07-18 14:09:52 +08:00
using System.Diagnostics;
using System.Drawing;
namespace Wox.Plugin.ControlPanel
2014-07-18 14:09:52 +08: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 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;
Icon = newIcon;
2014-07-19 20:31:19 +08:00
GUID = newGUID;
2014-07-18 14:09:52 +08:00
}
}
}