工具栏控件上的白色角 [英] White corners on toolstrip control
本文介绍了工具栏控件上的白色角的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我遇到了我无法解决的问题.
我有一个工具栏菜单,我正在尝试将其完全变成黑色,但ech角上的几个像素仍保持白色,没人知道这可能是什么.
我已经应用了一个新的Toolstrip渲染器,并重写了OnRenderToolStripBoarder()方法来隐藏边界,但每个角上仍然有一些白色像素.
在此先感谢
乔治
解决方案
尝试:
(myToolStrip.Renderer as ToolStripProfessionalRenderer).RoundedEdges= false ; pre>
Hi All,
I have encountered a problem i cannot solve.
I have a toolstrip menu which i am trying to make completely black, hoever a few pixels on ech corner remain white,does anyone know what this could be.
I have already applied a new Toolstrip renderer and overriden the OnRenderToolStripBoarder() method to hide the boarder but a few white pixels on each corner remain.
Thanks in advance
George
解决方案
Try:
(myToolStrip.Renderer as ToolStripProfessionalRenderer).RoundedEdges = false;
这篇关于工具栏控件上的白色角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文