public static bool Show(SirenOfShameSettings settings)
 {
     ConfigureServers configureServers = new ConfigureServers(settings);
     if (!settings.CiEntryPointSettings.Any())
     {
         configureServers.AddServer();
         return true;
     }
     bool anyChanges = configureServers.ShowDialog() == DialogResult.OK;
     return anyChanges;
 }
示例#2
0
        public static bool Show(SirenOfShameSettings settings)
        {
            ConfigureServers configureServers = new ConfigureServers(settings);

            if (!settings.CiEntryPointSettings.Any())
            {
                configureServers.AddServer();
                return(true);
            }
            bool anyChanges = configureServers.ShowDialog() == DialogResult.OK;

            return(anyChanges);
        }