コード例 #1
0
 public void UpdateVersion(string from, string to)
 {
     VersionInformation vi = new VersionInformation(from, to);
     vi.Items.AddRange(BoundVersion.Items);
     this.Text = vi.ToString();
     BoundVersion = vi;
 }
コード例 #2
0
        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));
        }