How to draw on windows form and save it as Jpeg file

I am trying with this code but not comming

public Form3()
{
InitializeCompo nent();

//rnd = new Random((int)Dat eTime.Now.Ticks ); // seeded with ticks
myPen = new Pen(Color.Red);
}

private void Form3_Load(obje ct sender, EventArgs e)
...