我使用以下代码更改StatuStripLabel中的参数
Dim ItemImage As System.Drawing.Image = iImage
Dim item = New ToolStripStatusLabel(sText, ItemImage)
item.BorderSides = ToolStripStatusLabelBorderSides.All
item.BorderStyle = Border3DStyle.RaisedOuter
item.LinkBehavior = LinkBehavior.HoverUnderline
item.IsLink = True
StatusStrip2.Items.Add(item)
现在有人帮我改变字体和字体大小吗?
答案 0 :(得分:1)
item.Font = new System.Drawing.Font("YOUR_FONT_NAME", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));