如何在 windows 窗体应用程序中更改工具条拆分按钮的背景颜色。背景颜色属性不起作用..这是设计器类中的代码..
this.level.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.level.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.level.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.autoToolStripMenuItem1,
this.loadToolStripMenuItem1});
this.level.Image = global::PACS.Properties.Resources.winlevel;
this.level.ImageTransparentColor = System.Drawing.Color.Red;
this.level.Margin = new System.Windows.Forms.Padding(1, 1, 1, 2);
this.level.Name = "level";
this.level.Size = new System.Drawing.Size(53, 43);
this.level.Text = "Level";
this.level.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
this.level.Paint += new System.Windows.Forms.PaintEventHandler(this.Window_level_Paint);
this.level.Click += new System.EventHandler(this.Window_level_Click);