Mega Code Archive
Click on the form to draw curve
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Drawing.Drawing2D;
public class Form1 : System.Windows.Forms.Form{
private Point[] thePoints;
private int counter;
public Form1() {
Console.WriteLine("click on the form to draw curve");
InitializeComponent();
thePoints = new Point[1000];
for (int i=0;i4)
this.Refresh();
}
}