你是要简单的绘图程序?呵呵我这这几天正好做这个
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Drawing
{
public partial class Form1 : Form
{
string BoolStyle;
Line lineObj;
Circle circleObj;
Rectangle rectangleObj;
RectCircle rectcircleOjt;
Color[] DrawColor;
Color currentcolor;
bool c;
List<Line> listline = new List<Line>();
List<Circle> listcircle = new List<Circle>();
List<Rectangle> listrectangle = new List<Rectangle>();
List<RectCircle> listrectcircle = new List<RectCircle>();
public Form1()
{
currentcolor = Color.Black;
DrawColor = new Color[8];
DrawColor[0] = Color.Brown;
DrawColor[1] = Color.Red;
DrawColor[2] = Color.Blue;
DrawColor[3] = Color.Orange;
DrawColor[4] = Color.Green;
DrawColor[5] = Color.Yellow;
DrawColor[6] = Color.White;
DrawColor[7] = Color.Black;
InitializeComponent();
}