Yes, you could add a constructor to your class that takes the Main UI form as a parameter.
That is the quick way to do it, but it introduces a "backward" dependency from your class to the Main UI where, in theory, no dependency is required.
To set the path permanently, set the path in your startup file.
Note: Instructions for two most popular Shells on Linux and Solaris are listed.
The new default colors will modernize the look of the Windows Console and make it more congruent with other terminal experiences, such as the integrated terminal in VSCode.
Here are links to the various requirements: The first cmdlet provides you with detailed information about the device's capabilities, firmware images, and revisions.
In this case, the machine only contains a single SATA SSD with 1 firmware slot.
As an alternative, I would suggest adding a public event to your class that the Main UI form could then subscribe to.
When your class needs to update the Main UI (or controls within the Main UI), the class would simply "raise" the event.