C# winform去掉ToolStripDropDown的外边框设定背景图片(有透明度的图片PNG)之后设定背景色透明
如题,我创建ToolStripDropDown的时候
ToolStripControlHost listHost;
ToolStripDropDown t = new ToolStripDropDown();
listHost = new ToolStripControlHost(panel1);
listHost.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath("img/MenuFrm.png"));
listHost.BackColor = Color.Transparent;
listHost.Size = new System.Drawing.Size(246,106);
t.Items.Add(listHost);
t.BackgroundImageLayout=ImageLayout.Stretch;
t.DropShadowEnabled = false;
t.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath("img/MenuFrm.png"));
t.BackColor = Color.Transparent;
//t.AllowTransparency = true;
已经设置背景透明了,但是不管用,而且没有设定外边框的属性,想去掉外边框,要怎么弄一下呢?
求各位大神指点迷津,谢谢啦!