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;
已经设置背景透明了,但是不管用,而且没有设定外边框的属性,想去掉外边框,要怎么弄一下呢?
求各位大神指点迷津,谢谢啦!
3 个解决方案
#1
各位大神,求帮忙啊!
#2
各位大神们,给点思路也好啊,谢谢啦!
#3
顶起来,同志们,帮帮忙!
#1
各位大神,求帮忙啊!
#2
各位大神们,给点思路也好啊,谢谢啦!
#3
顶起来,同志们,帮帮忙!