/// <summary></summary> virtual public void OnPaintL(MarginPaintEvent me) { if (PaintL != null) { PaintL(this, me); } }
public override void LPaint(MarginBase x, MarginPaintEvent me) { int ip = me.line + P.LineOffset + 1; if (ip > 0 && ip <= (P as TextPanelBase).LinesAvail) { me.gfx.DrawString( (ip).ToString(), P.Font, SystemBrushes.FromSystemColor(ForeColor), 4, me.line * P.Font.Height ); } else { me.gfx.DrawString( (0).ToString(), P.Font, SystemBrushes.FromSystemColor(SystemColors.ButtonHighlight), 4, me.line * P.Font.Height ); } }
/// <summary></summary> virtual public void LPaint(MarginBase x, MarginPaintEvent me) { }