private void restartToolStripMenuItem_Click(object sender, EventArgs e) { if (this.currentGraphBuilder != null) { this.currentGraphBuilder.StopGraph(); this.currentGraphBuilder.RunGraph(); } }