public static InstalledTypefaceCollection GetSharedTypefaceCollection(FirstInitFontCollectionDelegate initdel) { if (s_intalledTypefaces == null) { //first time s_intalledTypefaces = new InstalledTypefaceCollection(); initdel(s_intalledTypefaces); } return(s_intalledTypefaces); }
public static InstalledFontCollection GetSharedFontCollection(FirstInitFontCollectionDelegate initdel) { if (s_sharedFontCollection == null) { //first time s_sharedFontCollection = new InstalledFontCollection(); initdel(s_sharedFontCollection); } return(s_sharedFontCollection); }