|
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 Bezier
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
customCanvas1.CreateBezier(
new PointF(50, 100),
new PointF(500, 400),
new PointF(400, 100),
5);
}
private void btnDraw_Click(object sender, EventArgs e)
{
}
private void btnExit_Click(object sender, EventArgs e)
{
Application.Exit();
}
private void btnReset_Click(object sender, EventArgs e)
{
customCanvas1.CreateBezier(
new PointF(50, 100),
new PointF(500, 400),
new PointF(400, 100),
5);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.