예제 #1
0
 private void BT_Add5NodesSim_Click(object sender, EventArgs e)
 {
     Testing.SupplyUniqueNode();
     Testing.SupplyUniqueNode();
     Testing.SupplyUniqueNode();
     Testing.SupplyUniqueNode();
     Testing.SupplyUniqueNode();
 }
예제 #2
0
        private void BT_AddDynamicNode_Click(object sender, EventArgs e)
        {
            if (NM.NodeDict.Count < 5)
            {
                Testing.SupplyUniqueNode();
            }
            else
            {
                //Max number of nodes error
            }

            this.Close();
        }