/// <summary> /// 加载XML配置文件 /// </summary> public void Initial() { _ruleTree.BuildTree(treeView1); _planTree.Initial(); //comboBoxPlanA.Items.Clear(); //comboBoxPlanB.Items.Clear(); foreach (string item in _planTree.GetAllPlans()) { comboBoxPlanA.Items.Add(item); comboBoxPlanB.Items.Add(item); } }
public ZoneInfoControl() { InitializeComponent(); selDataControl1.label1.Text = "空间过滤"; _planTree.Initial(); }