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;
        }
 public override void EditOptions(IWin32Window dialogOwner)
 {
     TagOptions options = new TagOptions();
     options.Initialize(new TagProviderManager(Options));
     options.ShowDialog(dialogOwner);
 }
示例#4
0
        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;
        }