Support Forums

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.
User avatar
akrofly
Posts: 14
Joined: Tue Dec 03, 2013 12:40 pm

How to generate an interactive result accumulation

Postby akrofly » Mon Feb 01, 2016 1:39 am

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
User avatar
DevinL
Site Admin
Posts: 565
Joined: Mon Aug 17, 2015 2:25 pm

Re: How to generate an interactive result accumulation

Postby DevinL » Mon Feb 01, 2016 9:13 am

[POST MOVED TO POWERSHELL GUI FORUM BY MODERATOR]
DevinL
SAPIEN Technologies, Inc.
User avatar
dan.potter
Posts: 625
Joined: Wed Oct 08, 2014 6:02 am

Re: How to generate an interactive result accumulation

Postby dan.potter » Mon Feb 01, 2016 9:42 am

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: 14
Joined: Tue Dec 03, 2013 12:40 pm

Re: How to generate an interactive result accumulation

Postby akrofly » Mon Feb 01, 2016 4:36 pm

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

Return to “PowerShell GUIs”

Who is online

Users browsing this forum: No registered users and 4 guests