public void OnToolStripEditParameters(object sender, EventArgs e) { try { FormEditDefaultParamValues form = new FormEditDefaultParamValues( pluginViewCtrl.Dependancies); if (DialogResult.OK == form.ShowDialog()) { // also see on Ok button handler // clear plugin loader cache ComponentLoader.ClearCache(); if (pluginViewCtrl.Visible) { pluginViewCtrl.Refresh(); } } } catch (Exception ex) { _log.Error(ex.ToString()); } }
private void toolStripButtonEditParameters_Click(object sender, EventArgs e) { try { FormEditDefaultParamValues form = new FormEditDefaultParamValues(_pluginViewCtrl.Dependancies); if (DialogResult.OK == form.ShowDialog()) { // also see on Ok button handler // clear plugin loader cache ComponentLoader.ClearCache(); if (_pluginViewCtrl.Visible) _pluginViewCtrl.Refresh(); } } catch (Exception ex) { _log.Error(ex.ToString()); } }