예제 #1
0
        private string GetCloudTypeString(Cloud.eType t)
        {
            string r   = t.ToString();
            string ret = R.ResourceManager.GetString(r, R.Culture);

            return(ret);
        }
예제 #2
0
        private Cloud.eType GetMostClouds(CloudInfoWithNCD cloudInfoWithNCD)
        {
            Cloud.eType t = (Cloud.eType) 1;

            foreach (var fItem in cloudInfoWithNCD)
            {
                if (((int)fItem.Type) > (int)t)
                {
                    t = fItem.Type;
                }
            } // foreach (var fItem in cloudInfoWithNCD)

            return(t);
        }
예제 #3
0
 private static string Get(Cloud.eType eType)
 {
     return
         (R.ResourceManager.GetString(eType.ToString(), R.Culture));
 }