bm = new Bitmap(fbImage); //fbImage图片路径 this.BackgroundImage = bm;//设置背景图片 this.BackgroundImageLayout = ImageLayout.Stretch;//设置背景图片自动适应