greenPen.DashPattern =
g.DrawLine(greenPen, 20.0F, 20.0F, 100.0F, 240.0F);
g.SmoothingMode =
System.Drawing.Drawing2D.
g.DrawLine(greenPen, 100.0F, 240.0F, 160.0F, 20.0F);
greenPen.Dispose();
}