check if instance of a type
<p>Using this to check if <code>c</code> is a instance of <code>TForm</code>. </p>

<pre><code>c.GetType().Name.CompareTo("TForm") == 0
</code></pre>

<p>Is there a more type safe way to do it besides using a string as a param to <code>CompareTo()</code>? </p>
