2014-03-18 20:05:27 +00:00
|
|
|
|
using System;
|
2016-01-06 21:34:42 +00:00
|
|
|
|
using System.ComponentModel;
|
2014-03-18 20:05:27 +00:00
|
|
|
|
|
2015-01-03 07:20:34 +00:00
|
|
|
|
namespace Wox.Plugin.Program.ProgramSources
|
2014-03-18 20:05:27 +00:00
|
|
|
|
{
|
2014-12-15 14:58:49 +00:00
|
|
|
|
[Serializable]
|
2016-01-06 21:34:42 +00:00
|
|
|
|
[Browsable(false)]
|
2014-03-18 20:05:27 +00:00
|
|
|
|
public class UserStartMenuProgramSource : FileSystemProgramSource
|
|
|
|
|
|
{
|
|
|
|
|
|
public UserStartMenuProgramSource()
|
|
|
|
|
|
: base(Environment.GetFolderPath(Environment.SpecialFolder.Programs))
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2014-03-23 08:17:41 +00:00
|
|
|
|
public UserStartMenuProgramSource(ProgramSource source)
|
2014-03-18 20:05:27 +00:00
|
|
|
|
: this()
|
|
|
|
|
|
{
|
2016-01-06 21:34:42 +00:00
|
|
|
|
BonusPoints = source.BonusPoints;
|
2014-03-19 12:16:20 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
|
{
|
|
|
|
|
|
return typeof(UserStartMenuProgramSource).Name;
|
2014-03-18 20:05:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|