已经在winform中画出了直角坐标系,且读取数据画出了弧线,现在求这个弧线顶点坐标并显示在文本框中,各位大哥大姐拜托看看怎么做,小弟初学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;
using System.IO;
using System.Collections;
namespace Test直角坐标系
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
//文件路径
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
private void textBox2_TextChanged(object sender, EventArgs e)
{
}
String [] d;
String job;
int readlen = 0;
double[] bufx = new double[9999];
double[] bufy = new double[9999];
int[] xbuf = new int[9999];
int[