Here's my code:
Code: Select all
void OrderSavingHandler(object sender, EventArgs e)
{
IErrorList errorList2 = null;
try
{
errorList2 = GetService<IErrorList>();
}
catch (Exception) { }
errorList2.Add("this is a test", ErrorKind.Error, new Uri("http://www.microsoft.com"));
// Note: commenting this next line out makes no difference -- still hangs.
errorList2.Show();
return;
}
I'd like to "play nice" but SoftPro won't share its toys.