Example #1
0
 void SetRegion()
 {
     //using (GraphicsPath path = GraphicsPathHelper.CreatePath(new Rectangle(Point.Empty, base.Size), 6, RoundStyle.All, true))
     //{
     //    Region region = new Region(path);
     //    path.Widen(Pens.White);
     //    region.Union(path);
     //    this.Region = region;
     //}
     GraphicsPathHelper.SetRegion(this, 50);
 }