c# resources

using System.Resources; 

 

 

 PictureBox picturebox = new PictureBox();
            picturebox.Parent = this;
            //picturebox.Left = 100;
            //picturebox.Top = 100;
           picturebox.BackgroundImage= Properties.Resources.Chrysanthemum;
           picturebox.Width = 100;
           picturebox.Height = 200;

posted @ 2015-10-26 11:28  刀小爱  阅读(611)  评论(0编辑  收藏  举报