Esempio n. 1
0
        public static string ManRes2String(AManifestResource amr, bool bShort)
        {
            if (bShort)
            {
                return(amr.Name);
            }

            string s = amr.Name;

            s += "(" + amr.ResourceLocation + ")";

            return(s);
        }
Esempio n. 2
0
		public ManResNode(AManifestResource amr)
		{
			int icon;

			if (amr.IsResx)
			{
				icon = IconManResx;
			}
			else
			{
				icon = IconManRes;
			}

			Text = ManRes2String(amr, true);
			_data = amr;
			_desc = ManRes2String(amr, false);
			ImageIndex = icon;
			SelectedImageIndex = icon;
		}
Esempio n. 3
0
		public static string ManRes2String(AManifestResource amr, bool bShort)
		{
			if (bShort)
			{
				return amr.Name;
			}

			string s = amr.Name;

			s += "(" + amr.ResourceLocation + ")";

			return s;
		}