文件名称:C#实现抛物线插值函数
文件大小:2KB
文件格式:TXT
更新时间:2016-01-18 15:50:37
C# 插值
C#实现抛物线插值函数 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 WindowsFormsApplication2 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } int x0 = 60, y0 = 200, x1 = 120, y1 = 80, x2 = 180, y2 = 180; private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = this.CreateGraphics(); Pen pen = new Pen(Color.Red, 3); g.Clear(this.BackColor);