private void Draw(object sender, System.Windows.Forms.PaintEventArgs e) { GraphicsPath path = new GraphicsPath(); path.AddRectangle(new Rectangle(50, 50, 100, 20)); path.AddEllipse(new Rectangle(50, 50, 50, 50)); Region reg = new Region(path); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)