首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

怎么给panel边框加粗

2012-04-28 
如何给panel边框加粗如何给panel边框加粗[解决办法]在Paint事件里重绘一下。[解决办法]C# code private voi

如何给panel边框加粗
如何给panel边框加粗

[解决办法]
在Paint事件里重绘一下。
[解决办法]

C# code
 private void panel_Paint(object sender, PaintEventArgs e)        {            ControlPaint.DrawBorder(e.Graphics, panel36.ClientRectangle,                                        [color=#00FF00] Color.Gray, 1, ButtonBorderStyle.Solid,                                         Color.Gray, 0, ButtonBorderStyle.Solid,                                         Color.Gray, 1, ButtonBorderStyle.Solid,                                         Color.Gray, 0, ButtonBorderStyle.Solid);[/color]        } 

热点排行