private void toolCal_Click(object sender, EventArgs e) { Algo go = new Algo(Data); result = go.ToReport(); richTextBox1.Text = go.ToReport(); }
private void toolOpen_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() == DialogResult.OK) { Data = FileHelper.Read(openFileDialog1.FileName); Algo go = new Algo(Data); richTextBox1.Text = go.ToReport1(); } }