mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
27 lines
693 B
C#
27 lines
693 B
C#
using System;
|
|
using Wox.Infrastructure.Storage.UserSettings;
|
|
|
|
namespace Wox.Plugin.Program.ProgramSources
|
|
{
|
|
[Serializable]
|
|
[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;
|
|
}
|
|
}
|
|
}
|