public override void EditOptions(IWin32Window dialogOwner)
        {
            TagOptions options = new TagOptions();

            options.Initialize(new TagProviderManager(Options));
            options.ShowDialog(dialogOwner);
        }
Exemplo n.º 2
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;
        }
 public override void EditOptions(IWin32Window dialogOwner)
 {
     TagOptions options = new TagOptions();
     options.Initialize(new TagProviderManager(Options));
     options.ShowDialog(dialogOwner);
 }
Exemplo n.º 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;
        }