GraphicsPath path = new GraphicsPath(); path.AddLine(50, 0, 100, 50); path.AddLine(100, 50, 50, 100); path.AddLine(50, 100, 0, 50); path.AddLine(0, 50, 50, 0); Region r = new Region(path); myButton.Region = r;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)