title: Toolstripmenuitem click event
body: <p>I use this code to add an item to my menu:</p>
  
  <pre><code>private void oKToolStripMenuItem2_Click(object sender, EventArgs e)
  {
      if (string.IsNullOrEmpty(toolStripTextBox3.Text))
      {
          MessageBox.Show("Please enter a username in the textbox.", "Error");
          return;
      }
      var username = usernamesToolStripMenuItem1.DropDownItems.Add(toolStripTextBox3.Text);
      username.Name = toolStripTextBox3.Text;
      Properties.Settings.Default.Usernames.Add(toolStripTextBox3.Text);
      toolStripTextBox3.Clear();
  }
  </code></pre>
  
  <p>How do I make/call it's click event? The goal is that when you click on a username, it fills it in a textbox. I was hoping there'd be a .selecteditem but I can't find it.</p>