private void FrmMain_Load(object sender, EventArgs e) { Text = Helpers.BuildTitle(); Engine = new ScriptEngine(); ScriptEngineHelpers.AddSpecialFoldersToPlaceholders(); RefreshScripts(); }
private void FrmMain_Load(object sender, EventArgs e) { Text = BuildTitle(); Engine = new ScriptEngine(); ScriptEngineHelpers.AddSpecialFoldersToPlaceholders(); Engine.LoadAndParseScripts(); cmbSoftware.Items.AddRange(Engine.GetSoftwareNames()); if (cmbSoftware.Items.Count > 0) { cmbSoftware.SelectedIndex = 0; } else { SetLogVisible(Engine.IsLoadingError, Engine.IsLoadingError); } }