How do I create a Modal UITypeEditor for a string property?
See the question and my original answer on StackOverflowYou just need to return the value from the form, like this:
if (svc.ShowDialog(form) == DialogResult.OK)
{
value = form.Value;
}