public AddLicenseForm() { InitializeComponent(); List <BundleModel> bundles = BundleService.GetInstalledBundles(); foreach (BundleModel bundle in bundles) { checkedListBox1.Items.Add(bundle); } checkedListBox1.DisplayMember = "DisplayName"; }
public Task <SuccessModel> DelBundle(string name) => BundleService.DoUninstall(name);
public Task <BundleAjaxModel> GetBundle() => BundleService.GetDataAsync();