Hello,
i used to have a code in vb that used to retrieve all the forms in my project and add them to a group box, here it is:
but now that im using radForms, it doesnt seem to be able to return them to me as it loops throught the types in the projects. Anything i can do to get a ll the radForms in my project?
Thank you in advance
i used to have a code in vb that used to retrieve all the forms in my project and add them to a group box, here it is:
Dim formType As Type 'An assembly in .NET is an executable file (.EXE or .DLL) 'GetType returns the type object for the specified typename For Each formType In sender.GetType().Assembly.GetTypes() 'Select only the application forms inherited from the generalfunctionsform and add them to formList If UCase(formType.BaseType.ToString).Contains("SYSTEM.WINDOWS.FORMS.FORM") Then MsgBox(formType.BaseType.ToString) formList.Add(CType(Activator.CreateInstance(formType), Form)) End If Next 'Convert each form reference to a name string and add an entry to the formNames list For Each form As Form In formList formsListBox.Items.Add(form.Name.ToString) Nextbut now that im using radForms, it doesnt seem to be able to return them to me as it loops throught the types in the projects. Anything i can do to get a ll the radForms in my project?
Thank you in advance
