Exemple #1
0
        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();
        }
Exemple #2
0
        public void DrawLine(Color color, Point p1, Point p2)
        {
            var p = new GDIPen(color, 1);

            DrawLine(p, p1, p2);
            p.Dispose();
        }
Exemple #3
0
 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();
 }
Exemple #4
0
 public void DrawLine(Color color, Point p1, Point p2)
 {
     var p = new GDIPen(color, 1);
     DrawLine(p, p1, p2);
     p.Dispose();
 }