private void BT_Add5NodesSim_Click(object sender, EventArgs e) { Testing.SupplyUniqueNode(); Testing.SupplyUniqueNode(); Testing.SupplyUniqueNode(); Testing.SupplyUniqueNode(); Testing.SupplyUniqueNode(); }
private void BT_AddDynamicNode_Click(object sender, EventArgs e) { if (NM.NodeDict.Count < 5) { Testing.SupplyUniqueNode(); } else { //Max number of nodes error } this.Close(); }