/
Contributors.cs
62 lines (58 loc) · 1.79 KB
/
Contributors.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace EasyImgur
{
static class Contributors
{
public class Contributor
{
public string Name { get; set; }
public string Alias { get; set; }
public string Url { get; set; }
public override string ToString()
{
string str = Name;
if (!string.IsNullOrEmpty(Alias))
str += " (" + Alias + ")";
return str;
}
}
public static List<Contributor> ContributorList { get; private set; }
static public BindingSource BindingSource { get; private set; }
static Contributors()
{
BindingSource = new BindingSource();
ContributorList = new List<Contributor>
{
new Contributor
{
Name = "Alex van Liew",
Alias = "snoozbuster",
Url = "https://github.com/snoozbuster"
},
new Contributor
{
Name = "Joona Heikkilä",
Alias = "cxcorp",
Url = "https://github.com/cxcorp"
},
new Contributor
{
Name = "sobaarcier",
Alias = null,
Url = "https://github.com/sobaarcier"
},
// Add new contributor here
new Contributor // Leave this for last at all times.
{
Name = "...and every user of EasyImgur",
Alias = "",
Url = ""
}
};
}
}
}