public bool StartService()
{
if(ServiceManager == null)
{
throw new Exception("Null Service Manager");
}
if(!ServiceManager.IsRunning())
{
if(!ServiceManager.Start())
{
PopupController.Show("A time out occurred while trying to start the Warewolf server service. Please try again.", "Timeout", MessageBoxButton.OK, MessageBoxImage.Error, null);
return false;
}
}
return true;
}