Ejemplo 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);
        }
Ejemplo 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;
		}
Ejemplo 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;
		}