private void tsbModBrowserCkanRefresh_Click(object sender, EventArgs e) { updating = true; ModBrowserCkanController.RefreshCkanRepositories(() => { ModBrowserCkanController.RefreshCkanArchive(cbModBrowserCkanRepository.SelectedItem as CkanRepository, true, () => { updating = false; }); }); }
/// <summary> /// Creates a new instance of the ucTranslationView class. /// </summary> public UcModBrowserCkan() { InitializeComponent(); if (LicenseManager.UsageMode == LicenseUsageMode.Designtime || DesignMode) { return; } ModBrowserCkanController.Initialize(this); }
private void cbModBrowserCkanRepository_SelectedIndexChanged(object sender, EventArgs e) { if (updating) { return; } var sel = cbModBrowserCkanRepository.SelectedItem as CkanRepository; tableLayoutPanel1.Visible = (sel == null); if (sel != null) { ModBrowserCkanController.RefreshCkanArchive(sel, firstStart); } firstStart = false; }
private void btnModBrowserCkanProcessChanges_Click(object sender, EventArgs e) { ModBrowserCkanController.ProcessChanges(); }
private void ucModBrowserCKAN_Load(object sender, EventArgs e) { // do View related init here or in the PluginViewController.Initialize(...) methode. TreeViewAdvColumnHelper.ColumnsToTreeViewAdv(tvCkanRepositories, Columns); ModBrowserCkanController.RefreshCkanRepositories(); }