PowerToys/Plugins/Wox.Plugin.Program/ProgramSources/UserStartMenuProgramSource.cs

26 lines
646 B
C#
Raw Normal View History

using System;
namespace Wox.Plugin.Program.ProgramSources
{
[Serializable]
[global::System.ComponentModel.Browsable(false)]
public class UserStartMenuProgramSource : FileSystemProgramSource
{
public UserStartMenuProgramSource()
: base(Environment.GetFolderPath(Environment.SpecialFolder.Programs))
{
}
2014-03-23 16:17:41 +08:00
public UserStartMenuProgramSource(ProgramSource source)
: this()
{
2014-03-19 20:16:20 +08:00
this.BonusPoints = source.BonusPoints;
}
public override string ToString()
{
return typeof(UserStartMenuProgramSource).Name;
}
}
}