using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace line
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private int nLength = 400; //线长度
private int nStep = 2;
Point ptStart;
Point ptEnd;
Pen pen = new Pen(Color.Black);