示例#1
0
文件: Kernel.cs 项目: schifflee/bjd5
 private void Stop()
 {
     //�T�[�r�X�o�^����Ă���ꍇ�̏���
     if (RunMode == RunMode.NormalRegist)
     {
         //            var setupService = new SetupService(this);
         //            if (setupService.Status == ServiceControllerStatus.Running) {
         //                setupService.Job(ServiceCmd.Stop);
         //            }
     }
     else
     {
         ListServer.Stop();
     }
 }
示例#2
0
 private void Stop()
 {
     //サービス登録されている場合の処理
     if (RunMode == RunMode.NormalRegist)
     {
         //            var setupService = new SetupService(this);
         //            if (setupService.Status == ServiceControllerStatus.Running) {
         //                setupService.Job(ServiceCmd.Stop);
         //            }
     }
     else
     {
         ListServer.Stop();
     }
 }