public void DoLoad(string file) { if (graph.LoadGraph(file, delegate() { Text = file; })) { RecalcScrolls(); Invalidate(); savedFileName = file; } }