Member1

Member1

  • NA
  • 169
  • 48.8k

How to start windows service from winform on button click?

Sep 11 2015 2:50 AM
I am working on windows service , i made winform which has 1 button and , I want a scenario like following,

When i will install windows service project forms shortcut will create on desktop and this form has 1 button which when clicked it starts windows service , and then i will minimize this form and this form icon needs to be display in system tray and form disappears from taskbar. How could i make it possible i found way for windows form application but how could i do that for windows service?

Thanks!!

Answers (1)