发布网友 发布时间:2022-09-21 10:35
共1个回答
热心网友 时间:2023-11-17 15:06
Graphics gra = this.pictureBox1.CreateGraphics();追答你能写文件,读文件也类似
List numX = new List();
List numY = new List();
foreach (string line in File.ReadAllLines("Pointfile.txt"))
{
string[] nums = line.Split(' ');
if (nums.Length < 3) continue;
numX.Add(double.Parse(nums[0]));
numY.Add(double.Parse(nums[1]));
}