Closing the Child form Closes the Parent form also

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 3 years and 11 months 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
VenkatSGS
Posts: 4
Last visit: Mon Sep 06, 2021 4:27 am

Closing the Child form Closes the Parent form also

Post by VenkatSGS »

I have a multi-form project created in Powershell Studio. It contains atleast 20forms.
The Main form acts as a login window and the next form contains 5 buttons to open different forms. One button opens a child form and when I close it it closes the parent form also. However the other 4 buttons does not display this behaviour. I have done some basic de-bug however I could not find or fix why it is closing the parent form. Requesting your Help.
This topic is 3 years and 11 months 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