casting delegate using errorbox returns fault
<p>Im completely stumped on where to go from here. </p>

<p>heres my line of code that i cant get past.</p>

<pre><code>  if (error.GetReaction(ErrorReaction.InformUser) == null)
                {
                    error.SetReaction(new ErrorReactionClass(ErrorReaction.InformUser, (CachedAnonymousMethodDelegate1 != null) ? CachedAnonymousMethodDelegate1 : (CachedAnonymousMethodDelegate1 = new Method(ErrorMessageBox.ShowDialog)), "OK", ""));
                }
</code></pre>

<p>i get the following errors from this</p>

<p>Error   30  'System.Windows.Forms.DialogResult System.Windows.Forms.Form.ShowDialog()' has the wrong return type<br>
Error   31  An object reference is required for the non-static field, method, or property 'System.Windows.Forms.Form.ShowDialog()'</p>
