private void add_Click(object sender, EventArgs e) { Form addNode = new AddNewNode(network); addNode.ShowDialog(); currentNode.Text = Convert.ToString(network.get_numNodes() - 1); }
private void button_Add_Click(object sender, EventArgs e) { Form addNode = new AddNewNode(network); addNode.ShowDialog(); }