日期:2014-05-17 浏览次数:20965 次
private void Form1_Load(object sender, EventArgs e)
{
System.Reflection.Assembly r = Assembly.GetExecutingAssembly();
Stream stream ;
stream = r.GetManifestResourceStream("WinTest.Resources.2.jpg");
this.BackgroundImage = Image.FromStream(stream);
stream.Close();
}