private void StartServices() { buttonStartStop.Enabled = false; ShutdownBlockReasonCreate(this.Handle, "Services are running"); if (Settings.UseServicePhp.Value) { phpServ.Start(); } if (Settings.UseServiceMariaDb.Value) { mariaServ.Start(); } if (Settings.UseServiceMongoDb.Value) { mongoServ.Start(); } if (Settings.UseServiceRedis.Value) { redisServ.Start(); } if (Settings.UseServiceNginx.Value) { nginxServ.Start(); } if (Settings.UseServiceScript.Value) { scriptServ.Start(); } servsRunning = true; buttonStartStop.Text = "Stop"; buttonStartStop.Enabled = true; }