Adds a System.Windows.Forms.ToolStripItem that displays the specified image and text to the collection and that raises the ToolStripItem.Click event.
- text
The text to be displayed on the System.Windows.Forms.ToolStripItem.
- image
The System.Drawing.Image to be displayed on the System.Windows.Forms.ToolStripItem.
- onClick
Raises the ToolStripItem.Click event.
![]()
The new System.Windows.Forms.ToolStripItem.