public void UpdateVersion(string from, string to) { VersionInformation vi = new VersionInformation(from, to); vi.Items.AddRange(BoundVersion.Items); this.Text = vi.ToString(); BoundVersion = vi; }
public BindableVersion(VersionInformation v) { this.Text = v.ToString(); this.Tag = "Version"; BoundVersion = v; foreach (Item i in v.Items) this.Nodes.Add(new BindableItem(i)); }