Reputation: 13296
i was searching for a listview that can embed some controls like progressbar and i found
i choice XPTable but i can't figure out how to update the progressbar . i've read all of the tutorial .. and searched the samples.. there's nothing about updating that progressbar. help please.
Upvotes: 1
Views: 1185
Reputation: 13296
i've figured out the solution
public void UpdateProgressBar(int value)
{
if (InvokeRequired)
{
this.Invoke(new Action<int>(UpdateProgressBar), new object[] { value });
return;
}
table1.TableModel.Rows[0].Cells[1].Data = value;
}
Upvotes: 2