17.C#编程学习—— 贝塞尔曲线
源码
usingSystem;
usingSystem.Drawing;
usingSystem.Windows.Forms;
classBezier :Form
{
protectedPoint[] apt =newPoint[4];
publicstaticvoid Main()
{
Application.Run(newBezier());
}
public Bezier()
{
Text ="Bezier (Mouse Defines Control Points)";
BackColor =SystemColors.Window;
ForeColor =SystemColors.WindowText;
ResizeRedraw =true;