protected override void OnStop()
        {
            base.OnStop();

            SystemHost.StopService();
        }
示例#2
0
 static void Application_ApplicationExit(object Sender, EventArgs E)
 {
     SystemHost.StopService();
 }