mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
102d5fdd7f
The Control Panel now also includes third party panel items.
24 lines
809 B
C#
24 lines
809 B
C#
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; }
|
|
|
|
public ControlPanelItem(string newLocalizedString, string newInfoTip, ProcessStartInfo newExecutablePath, Icon newIcon)
|
|
{
|
|
LocalizedString = newLocalizedString;
|
|
InfoTip = newInfoTip;
|
|
ExecutablePath = newExecutablePath;
|
|
Icon = newIcon;
|
|
}
|
|
}
|
|
}
|