public static string ManRes2String(AManifestResource amr, bool bShort) { if (bShort) { return(amr.Name); } string s = amr.Name; s += "(" + amr.ResourceLocation + ")"; return(s); }
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; }
public static string ManRes2String(AManifestResource amr, bool bShort) { if (bShort) { return amr.Name; } string s = amr.Name; s += "(" + amr.ResourceLocation + ")"; return s; }