Using this to check if c
is an instance of TForm
.
c.GetType().Name.CompareTo("TForm") == 0
Is there a more type safe way to do it besides using a string
as a param to CompareTo()
?
Using this to check if c
is an instance of TForm
.
c.GetType().Name.CompareTo("TForm") == 0
Is there a more type safe way to do it besides using a string
as a param to CompareTo()
?