public override void EditOptions(IWin32Window dialogOwner) { TagOptions options = new TagOptions(); options.Initialize(new TagProviderManager(Options)); options.ShowDialog(dialogOwner); }
private void tagProviderComboBox_ManageProviders(object sender, EventArgs e) { TagOptions optionsForm = new TagOptions(); TagProviderManager manager = new TagProviderManager(_context.PluginSettings); optionsForm.Initialize(manager); optionsForm.SetContext(_context); optionsForm.ShowDialog(this); tagProviderComboBox.SetTagProviders(manager.TagProviders); tagProviderComboBox.SelectedTagProvider = _context.CurrentProvider; }