private void LoadWallpaper() { string sPATH = Application.StartupPath.ToString(); LanHouseFacil_Util.clsFile f = new LanHouseFacil_Util.clsFile(); string imgPath = f.ImageServer(sPATH, 1); Image i = new Bitmap(imgPath); this.BackgroundImage = i; }
private void LoadWallpaper() { string sPATH = Application.StartupPath.ToString(); LanHouseFacil_Util.clsFile f = new LanHouseFacil_Util.clsFile(); iTotalFileWallpaper = f.ReturnCoutWallpaperClient(sPATH); string imgPath = f.IamgeClient(sPATH, iTotalWallpaper); Image i = new Bitmap(imgPath); this.BackgroundImage = i; }