I need to create some documentation and am using reflection to go through the project's in the solution and create a chm. So far it is coming along real nice but I cant figure out why this wont work.I am trying to loop through a forms control's collection and only grab the controls that are Strataframe Controls, for instance a SF text box on the test form and the code below does not seem to find it. I only want to show contols that can be bound to a BO as I creating a Form level bound controls section.
For Each loCtl As System.Windows.Forms.Control In _form.ControlsIf loCtl.GetType.IsSubclassOf(GetType(MicroFour.StrataFrame.UI.Windows.Forms.Textbox)) Then--------Doesnt seem to work but if remoce the if statement it works