c#项目启动路径及资源文件jpg_bmp相关

public keytest()
        {
            Button b = new Button();
            // E:\net_self_learning\openfiledialog\openfiledialog\openfiledialog\bin\Debug
            string startuppath = Application.StartupPath;//项目的启动路径 把资源文件放入此路径即可
            b.Image = Image.FromFile("zapotec1.bmp");
            b.Location = new Point(ClientSize.Width, ClientSize.Height);
            b.Size = new Size(100, 100);
            b.Parent = this;
            
        }




请使用浏览器的分享功能分享到微信等