示例#1
0
        public override bool LoadCustomResources()
        {
            string absolutePath = ProjectDefinitions.GetAbsolutePath(DDSImagePath);

            if (File.Exists(absolutePath))
            {
                ImageSurface = Surface.LoadFromFile(absolutePath);
                ImageSurface.FlipVertically();
                return(true);
            }

            return(true);
        }