Please help me to create a button. Like circle with surround white line and fill with light blue colour.please help me i am new to c#.
I attached the button. please give me answer as soon as possible.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
FroglegPosted Oct 31, 2013, 3:50 AM
using System.Drawing.Drawing2D;
private void Form1_Load(object sender, EventArgs e)
{
GraphicsPath p = new GraphicsPath();// create round picturebox
p.AddEllipse(0, 0, label1.Width, label1.Height);
label1.Region = new Region(p);
label1.BackgroundImage = Image.FromFile("button.png");
}