Creates a default System.Windows.Forms.ToolStripStatusLabel with the specified text, image, and event handler on a new System.Windows.Forms.StatusStrip instance.
- text
- The text to use for the System.Windows.Forms.ToolStripStatusLabel. If the text parameter is a hyphen (-), this method creates a System.Windows.Forms.ToolStripSeparator.
- image
- The System.Drawing.Image to display on the System.Windows.Forms.ToolStripStatusLabel.
- onClick
- An event handler that raises the Control.Click event when the System.Windows.Forms.ToolStripStatusLabel is clicked.
A ToolStripStatusLabel.#ctor(string, System.Drawing.Image, EventHandler), or a System.Windows.Forms.ToolStripSeparator if the text parameter is a hyphen (-).
Use the StatusStrip.CreateDefaultItem(string, System.Drawing.Image, EventHandler) method to add a System.Windows.Forms.ToolStripStatusLabel with commonly used characteristics to a System.Windows.Forms.StatusStrip.