Пример #1
0
        public AddLicenseForm()
        {
            InitializeComponent();

            List <BundleModel> bundles = BundleService.GetInstalledBundles();

            foreach (BundleModel bundle in bundles)
            {
                checkedListBox1.Items.Add(bundle);
            }

            checkedListBox1.DisplayMember = "DisplayName";
        }
Пример #2
0
 public Task <SuccessModel> DelBundle(string name) => BundleService.DoUninstall(name);
Пример #3
0
 public Task <BundleAjaxModel> GetBundle() => BundleService.GetDataAsync();