dynamic controls on winforms
Posted: Fri Apr 07, 2017 6:23 pm
Hi,
I am contemplating converting a winform app I wrote a few years ago that is about 90% dynamic controls into powershell.
We persist custom metadata (parameters, data types, output columns, etc.) for numerous "report only" stored procs, and I built one winform that reads the metadata at runtime and dynamically add the controls to enter that proc's parameters , choose which columns to return, runs the proc, and displays results to a grid on the same form.
For us, it beat the heck out of maintaining dozens of separate forms or SSRS reports for executing the queries.
Anyone been successful at dynamic winform controls using PShell Studio?
If so, were there any stumbling blocks that limited what could be done vs. C#? We don't need MDI interface.
thanks,
Ken
I am contemplating converting a winform app I wrote a few years ago that is about 90% dynamic controls into powershell.
We persist custom metadata (parameters, data types, output columns, etc.) for numerous "report only" stored procs, and I built one winform that reads the metadata at runtime and dynamically add the controls to enter that proc's parameters , choose which columns to return, runs the proc, and displays results to a grid on the same form.
For us, it beat the heck out of maintaining dozens of separate forms or SSRS reports for executing the queries.
Anyone been successful at dynamic winform controls using PShell Studio?
If so, were there any stumbling blocks that limited what could be done vs. C#? We don't need MDI interface.
thanks,
Ken