private void button8_Click(object sender, EventArgs e) { LoadControllers(); GenConfig config = new GenConfig(); string[] apps = config.GetApps(); if (apps != null && apps.Length > 0) { for (int i = 0; i < apps.Length; i++) { config.Load(trvControllers, "App"); } } }
public frmMain() { InitializeComponent(); LoadControllers(); GenConfig config = new GenConfig(); string[] apps = config.GetApps(); if (apps != null && apps.Length > 0) { for (int i = 0; i < apps.Length; i++) { config.Load(trvControllers, "App"); } } }