mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-16 04:29:16 +08:00
26 lines
688 B
C#
26 lines
688 B
C#
using System;
|
|
using Wox.Infrastructure.Storage.UserSettings;
|
|
|
|
namespace Wox.Plugin.SystemPlugins.Program.ProgramSources
|
|
{
|
|
[global::System.ComponentModel.Browsable(false)]
|
|
public class UserStartMenuProgramSource : FileSystemProgramSource
|
|
{
|
|
public UserStartMenuProgramSource()
|
|
: base(Environment.GetFolderPath(Environment.SpecialFolder.Programs))
|
|
{
|
|
}
|
|
|
|
public UserStartMenuProgramSource(ProgramSource source)
|
|
: this()
|
|
{
|
|
this.BonusPoints = source.BonusPoints;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return typeof(UserStartMenuProgramSource).Name;
|
|
}
|
|
}
|
|
}
|