public SkinManager(string basePath) { this.AllExtensions = new string[] { ".png", ".gif", ".jpg", ".bmp" }; this.mBasePath = basePath; if (!this.BasePath.EndsWith(@"\")) { this.BasePath = this.BasePath + @"\"; } this.mResourceType = SkinResourceTypes.File; }
public SkinManager(ResourceManager resourceTarget) { this.AllExtensions = new string[] { ".png", ".gif", ".jpg", ".bmp" }; this.mResourceTarget = resourceTarget; this.mResourceType = SkinResourceTypes.EmbeddedResource; }