I'm looking for a sample of creating a windows service, that has a WinForm.
The form allows the user to configur parameters for the Service.
For example - SQL Server connection parameters, and output directory.
The form should load when the service starts, and wait for the user input.
After the user has configured the parameters, and selects "Connect",
the form will save the configuration, then it will be unloaded
and the service continues running.
When the service is detecting a previous configuration,
it will wait for 30 seconds before using the previous configuration.
I know it's possible to use input arguments, but we prefer a GUI.
any help will be appreciated,