예제 #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     XmlParse.ReadProducts();
     MealFunc.DefaultMeals();
     ProductFunc.PopulateTree(treeView1);
     MealFunc.PopulateMealTree(treeView2);
     UpdateCalories();
 }
예제 #2
0
 private void Update1()
 {
     treeView1.Nodes.Clear();
     ProductFunc.PopulateTree(treeView1);
     ProductFunc.SearchRecursive(treeView1.Nodes, tb_Search.Text, tb_Search, treeView1);
 }