1.try to derive a new class from StatusBar and override its OnDrawItem method
protected void OnDrawItem(object sender,
System.Windows.Forms.StatusBarDrawItemEventArgs sbdevent)
{
Graphics graphics = sbdevent.Graphics;
// TODO: Change to use system colors.
System.Drawing.SolidBrush backgroundBrush =
new System.Drawing.SolidBrush(Color.Red);
}
2. see
http://www.dotnet247.com/247reference/msgs/9/45667.aspx
protected void OnDrawItem(object sender,
System.Windows.Forms.StatusBarDrawItemEventArgs sbdevent)
{
Graphics graphics = sbdevent.Graphics;
// TODO: Change to use system colors.
System.Drawing.SolidBrush backgroundBrush =
new System.Drawing.SolidBrush(Color.Red);
}
2. see
http://www.dotnet247.com/247reference/msgs/9/45667.aspx
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货