c# - Get form source file at runtime from external process in .NET -
i working in large solution (120+ projects). often, need find particular form in large desktop application, consisting of hundreds of forms.
for example, might have requirement edit controls on form.
we don't know form name, know how navigate form when running application.
in order identify form, try find unique text on form, , search source files string. that's not cool.
instead, i'd make little tool can identify source file form, or @ least name property of form object.
we can't add code solution itself, have make external exe.
i not sure if possible. thinking might possible through reflection, i'm no expert on matter.
if have ideas how solve problem, great.
thanks.
i used managed spy this. displays treeview of controls in .net-based client application.when select control, propertygrid shows properties on control.
Comments
Post a Comment