Hi there,
Could someone please clarify the process for communicating between a userform and TestCSharpDll.cs? I'm learning C#, and have created a little plugin that updates CustomTags each time a new track plays. I'm now wanting to let the user choose which CustomTags will be updated. Unfortunately, I can't figure out how to populate the userform comboboxes (or even a single messagebox) with the field names of the custom tags. I've provided the code for the userform below, but I suspect I'm well on the wrong track.
namespace MusicBeePlugin
{
public partial class ConfigSettings : Form
{
public ConfigSettings()
{
InitializeComponent();
}
public ConfigSettings(Plugin.MusicBeeApiInterface pApi)
{
}
private Plugin.MusicBeeApiInterface mApi;
private void ConfigSettings_Load(object sender, EventArgs e)
{
MessageBox.Show(mApi.Setting_GetFieldName(Plugin.MetaDataType.Custom1));
}
}
}