private void CmbSubSystem_SelectedIndexChanged(object sender, EventArgs e) { if (PlanSystem != null) { RefreshPluginPlanFormTreeView(); SavePlans?.Invoke(this, new EventArgs()); } PlanSystem = (IPluginPlanSystem)cmbSubSystem.SelectedItem; Text = "插件管理 - " + (lblSystemName.Text = PlanSystem.SysInfo.Text); ReloadPluginPlans(PlanSystem.Plans); //加载插件方案列表 }
private void CmbSubSystem_SelectedIndexChanged(object sender, EventArgs e) { if (PlanSystem != null) { RefreshPluginPlanFormTreeView(); SavePlans?.Invoke(this, new EventArgs()); } PlanSystem = (IPluginPlanSystem)cmbSubSystem.SelectedItem; ReloadSystemInfo(PlanSystem.SysInfo); //加载软件信息 ReloadPluginPlans(PlanSystem.Plans); //加载插件方案列表 }
private void BtnSave_Click(object sender, EventArgs e)//保存 { RefreshPluginPlanFormTreeView(); SavePlans?.Invoke(this, new EventArgs()); Close(); }