Example #1
0
        private void AddImages()
        {
            fgeimages = new List <FGEImage>();
            string datapath = Path.Combine(EDDOptions.Instance.AppDataDirectory, "Maps");

            if (Directory.Exists(datapath))
            {
                fgeimages = FGEImage.LoadImages(datapath);
                fgeimages.AddRange(FGEImage.LoadFixedImages(datapath));
            }
        }
Example #2
0
        private void AddImages()
        {
            fgeimages = new List <FGEImage>();
            string datapath = Path.Combine(Tools.GetAppDataDirectory(), "Maps");

            if (Directory.Exists(datapath))
            {
                fgeimages = FGEImage.LoadImages(datapath);
                fgeimages.AddRange(FGEImage.LoadFixedImages(datapath));
            }
        }
Example #3
0
        private bool AddImages()
        {
            fgeimages = new List <FGEImage>();
            string datapath = Path.Combine(EDDOptions.Instance.AppDataDirectory, "Maps");

            if (Directory.Exists(datapath))
            {
                fgeimages = FGEImage.LoadImages(datapath);
                fgeimages.AddRange(FGEImage.LoadFixedImages(datapath));
                return(fgeimages.Count > 0);
            }
            else
            {
                return(false);
            }
        }