Пример #1
0
        public static string GetWIndowSize()
        {
            String size = ConfigSystem.ReadConfig("Config", "Setting", "Size");

            return(String.IsNullOrEmpty(size) ? "full" : size);
        }
Пример #2
0
        public static string GetWindowStart()
        {
            string start = ConfigSystem.ReadConfig("Config", "Setting", "Start");

            return(String.IsNullOrEmpty(start) ? "on" : start);
        }
Пример #3
0
        public static string GetSettingPort()
        {
            string port = ConfigSystem.ReadConfig("Config", "Setting", "Port");

            return(String.IsNullOrEmpty(port) ? "9999" : port);
        }