using System;
using System.Drawing;
namespace DrawCircuit
{
class Program
{
static void Main(string[] args)
{
Graphics g = Graphics.FromHwnd(this.Handle);
g.FillRectangle(Brushes.Black, new Rectangle(10, 10, 20, 10));
g.DrawRectangle(Pens.Black, new Rectangle(10, 10, 20, 10));
g.FillEllipse(Brushes.Black, new Ellipse(40, 10, 10, 10));
g.DrawEllipse(Pens.Black, new Ellipse(40, 10, 10, 10));
g.DrawLine(Pens.Black, new Point(30, 20), new Point(50, 20));
g.Dispose();
}
}
}