public void DoLoad(string FileName) { View.LoadFromFile(FileName); split.SplitterDistance = View.Width + MARGIN; this.Text = FileName; initializeHeuristicLog(this.Text); DoReset(true); }
private void bLoad_Click(object sender, EventArgs e) { if (ofd1.ShowDialog() == DialogResult.OK) { View.LoadFromFile(ofd1.FileName); this.Text = ofd1.FileName; } }