I have to make a Windows Forms application just for background running, I don't want to show anything, I just have to connect to a MySQL database and show notifications thrown at it.
Asked
Active
Viewed 630 times
0
-
4[Create a Worker Service](https://learn.microsoft.com/en-us/dotnet/core/extensions/workers) or [Create a Windows Service](https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer#:~:text=Create%20a%20Service%201%20From%20the%20Visual%20Studio,and%20then%20select%20OK.%20...%20.%20See%20More.) – Steve Feb 24 '22 at 15:52
-
is there any way to just hide form completly – dotaxe8653 Feb 24 '22 at 16:00
-
By default, there is no form in a service (so no need to hide anything) – J.Salas Feb 24 '22 at 16:09
-
Yes you can hide a form by using Hide(); in startup method, please take a look at this link : https://stackoverflow.com/questions/14455084/how-to-hide-winform-after-it-run – Bouam Feb 24 '22 at 16:09