Q:

heart shaped picturebox

Is it possible to make a heart shaped picturebox in c#? 
I have seen codes in making rectangle and ellipse but I don't have any idea  on making a heart shaped region.
Any idea?

A:

This seems to work:
public class HeartPictureBox : PictureBox {
    protected override void OnPaint(PaintEventArgs pe) {
        using (System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath()) {
            path.AddBezier(this.Width >> 1,
                            this.Height >> 2,
                            this.Width * 1.25f, 0f,
                            this.Width,
                            this.Height * 0.75f,
                            this.Width >> 1,
                            this.Height);
            path.AddBezier(this.Width >> 1,
                            this.Height >> 2,
                            -this.Width * .25f, 0f,
                            0f,
                            this.Height * 0.75f,
                            this.Width >> 1,
                            this.Height);

            this.Region = new Region(path);
        }
    }
}

Bezier stuff from here: http://www.codeproject.com/Tips/177794/Heart-shaped-Form-in-C-2-0

