<p>I have a List of strings that is regenerated every 5 seconds. I want to create a Context Menu and set its items dynamically using this list.
The problem is that I don't have even a clue how to do that and manage the Click action for every item generated (which should use the same method with different parameter DoSomething("item_name")).</p>

<p>How should I do this?</p>

<p>Thanks for your time.
Best regards.</p>

So, you can clear the items from the context menu with:
```
```
myContextMenuStrip.Items.Clear();
```
```
You can add an item by calling:
```
```
myContextMenuStrip.Items.Add(myString);
```
```
The context menu has an ItemClicked event.  Your handler could look like so:
```
```
private void myContextMenuStrip_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
{
    DoSomething(e.ClickedItem.Text);
}
```
```
Seems to work OK for me.  Let me know if I misunderstood your question.