IjwFramework.Ui.Painter.DrawSeparatorLine C# (CSharp) Method

DrawSeparatorLine() public method

public DrawSeparatorLine ( Pen p ) : void
p System.Drawing.Pen
return void
		public void DrawSeparatorLine(Pen p)
		{
			g.DrawLine(p, bounds.Left + x, bounds.Top, bounds.Left + x, bounds.Bottom);
		}
	}

Usage Example

Exemplo n.º 1
0
		void RenderColumnHeader(IColumn c, Painter p, Node n)
		{
			p.SetPosition(c.Left);
			if (c.Left > 0)
				p.DrawSeparatorLine(Pens.Black);
			p.Pad(4);
			p.DrawString(c.Name, Font, Brushes.Black, 3, c.Left + c.Width);
		}