public ControlEditMod(string title, Mod mod = null) { InitializeComponent(); Mod = mod; if (mod == null) Mod = new Mod(); lblTitle.Text = title; }
public void Remove(Mod m, string n) { Items.Add(new Item { Mod = m, Action = Action.Removed, Notes = n }); }
public void Change(Mod m, string n) { Items.Add(new Item { Mod = m, Action = Action.Changed, Notes = n }); }
public void Add(Mod m, string n) { Items.Add(new Item { Mod = m, Action = Action.Added, Notes = n }); }