winform改变控件的外形

GraphicsPath gp = new GraphicsPath();
gp.AddEllipse(0, 0, 40, 40);
Region region = new Region(gp);
ctrl.Region = region;

posted @ 2019-03-20 19:37  翻白眼的哈士奇  阅读(558)  评论(0编辑  收藏  举报