How to generate an interactive result accumulation

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 8 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
akrofly
Posts: 30
Last visit: Fri Mar 24, 2023 3:33 am

How to generate an interactive result accumulation

Post by akrofly »

Product, version and build: Powershell Studio 2012 and 2014
32 or 64 bit version of product: both
Operating system: windows 8.1 & windows 10 & windows 2012 & windows 2012r2
32 or 64 bit OS: 64 bit OS

Is there a way to build a GUI with an interactive result pane.
An example would be (and this is just an example):
Returning a Grid-View with all processes.
Building a way to mark the process and killing it from the returned list......

Is this possible at all with powershell studio?


Regards
Akr Ofly
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: How to generate an interactive result accumulation

Post by DevinL »

[POST MOVED TO POWERSHELL GUI FORUM BY MODERATOR]
DevinL
SAPIEN Technologies, Inc.
User avatar
dan.potter
Posts: 709
Last visit: Wed Nov 14, 2018 11:39 am

Re: How to generate an interactive result accumulation

Post by dan.potter »

If you can dream it, it can be done.

Load your processes in the gridview or datagridview. Create an event click, rightclick, button, etc to handle the code passing in the processname in the selected cell.

I think I remember seeing this exact thing on scriptingguy a couple years ago. I'll find it.
User avatar
akrofly
Posts: 30
Last visit: Fri Mar 24, 2023 3:33 am

Re: How to generate an interactive result accumulation

Post by akrofly »

Wow.... that was dead on.

Now processes was just an example, this new found knowledge will be put to use somewhere else.

Thank you for your time.


Kind regards
Akr Ofly
This topic is 8 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked