mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
27 lines
640 B
C#
27 lines
640 B
C#
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace Wox.Plugin.Program.ProgramSources
|
|
{
|
|
[Serializable]
|
|
[Browsable(false)]
|
|
public class UserStartMenuProgramSource : FileSystemProgramSource
|
|
{
|
|
public UserStartMenuProgramSource()
|
|
: base(Environment.GetFolderPath(Environment.SpecialFolder.Programs))
|
|
{
|
|
}
|
|
|
|
public UserStartMenuProgramSource(ProgramSource source)
|
|
: this()
|
|
{
|
|
BonusPoints = source.BonusPoints;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return typeof(UserStartMenuProgramSource).Name;
|
|
}
|
|
}
|
|
}
|