Example #1
0
        private void add_Click(object sender, EventArgs e)
        {
            Form addNode = new AddNewNode(network);

            addNode.ShowDialog();

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

            addNode.ShowDialog();
        }