public void DrawRect(Color color, int left, int top, int width, int height) { var p = new GDIPen(color, 1); DrawRect(p, left, top, width, height); p.Dispose(); }