title: Accessing ProgressBar in ListView
body: <p>I have the following code that I am trying to figure out but I am completely stumped.  I am adding the progressbar into the listview, but I really don't know how to access each progressbar to update the progress values.</p>
  
  <pre><code>public ProgressBar LvAddProgB(ListView LV, int LVII, int LVColI, string lvName)
  {
      Rectangle SizeR = default(Rectangle);
      ProgressBar ProgBar = new ProgressBar();
  
      SizeR = LV.Items[LVII].Bounds;
      SizeR.Width = LV.Columns[LVColI].Width;
      if (LVColI &gt; 0)
      {
          SizeR.X = SizeR.X + LV.Columns[LVColI - 1].Width;
      }
      ProgBar.Parent = LV;
      ProgBar.Name = lvName;
      ProgBar.SetBounds(SizeR.X, SizeR.Y, SizeR.Width, SizeR.Height);
      ProgBar.Visible = true;
      ProgBar.Maximum = 1000;
      ProgBar.Step = 1;
  
      return ProgBar;
  }
  
  private void button1_Click(object sender, EventArgs e)
  {
      for (int x = 0; x &lt; 3; ++x)
      {
          ListViewItem item = new ListViewItem();
          item.Text = "d.Name";
          item.SubItems.Add("                 ");
          listView1.Items.Add(item);
          LvAddProgB(listView1, x, 1, "Lview" + x.ToString());
      }
  }
  </code></pre>