Esempio n. 1
0
 private void CopyBuildToListViewItem(int index, ListViewItem item)
 {
     Hudson.Build build = builds[index];
     item.SubItems.Clear();
     item.SubItems[0].Text = build.Number.ToString();
     item.SubItems.Add(build.Url);
 }
Esempio n. 2
0
        private void buildsListView_DoubleClick(object sender, EventArgs e)
        {
            ListView.SelectedIndexCollection indexes = buildsListView.SelectedIndices;

            if (indexes.Count > 0)
            {
                Hudson.Build selectedBuild = builds[indexes[0]];
                Execute(selectedBuild.Url);
            }
        }