private DrawScrollBarsBox ( Graphics gr ) : void | ||
gr | Graphics | |
Результат | void |
private void DrawScrollBarsBox(Graphics gr)
{
Rectangle r1 = DisplayRectangle;
Rectangle r2 = ClientRectangle;
gr.FillRectangle(SystemBrushes.Control,
new Rectangle(r1.Right, r1.Bottom, r2.Width - r1.Width, r2.Height - r1.Height));
}