public static List <int> FromString(string s)
 {
     if (s == "All")
     {
         return(GridId.AllId());
     }
     else
     {
         return(s.RestoreIntListFromString());
     }
 }
        public static string ToString(List <int> ids)
        {
            List <int> allid = GridId.AllId();

            if (ids.Count == allid.Count)
            {
                return("All");
            }
            else
            {
                return(string.Join(",", ids));
            }
        }