I need a List<>
of all Forms in the c # project, so when I start the exe
insert all the Forms in the database.
I need a List<>
of all Forms in the c # project, so when I start the exe
insert all the Forms in the database.
IEnumerable<string> formNames = from t in Assembly.GetExecutingAssembly().GetTypes()
where t.IsClass &&
t.BaseType == typeof(System.Windows.Forms.Form)
select t.Name;
Adapted from here