public override void draw(Pen p, Point startPoint, Point endPoint, PaintEventArgs e) { this.MPen = new Pen(p.Color, p.Width); this.Start = startPoint; this.End = endPoint; this.MGraphic = e.Graphics; MGraphic.DrawLine(p, startPoint, endPoint); }
public override void draw(Pen p, Point startPoint, Point endPoint, Graphics g) { mGraphic = g; this.MPen = new Pen(p.Color, p.Width); Start = startPoint; End = endPoint; MGraphic.DrawLine(p, startPoint, endPoint); //paintColor(); }
public override void draw(Pen p, Graphics e) { this.MPen = new Pen(p.Color, p.Width); this.MGraphic = e; MGraphic.DrawLine(MPen, Start, End); }
public override void draw(Graphics e) { this.MGraphic = e; MGraphic.DrawLine(MPen, Start, End); }
public override void draw(PaintEventArgs e) { this.MGraphic = e.Graphics; MGraphic.DrawLine(MPen, Start, End); }
public override void draw() { MGraphic.DrawLine(MPen, Start, End); }