private void Form1_Paint(object sender, PaintEventArgs e)
{
string path = Application.StartupPath;
Image image = Image.FromFile(path + @"\psb.jpg");
Graphics g = //this.CreateGraphics();
Graphics.FromImage(image);
Point point = new Point(100, 100);
// g.DrawImage(image, point);
e.Graphics.DrawImage(image, point);
// pictureBox1.Invoke();
// g.Save();
//g.Flush();
//
g.Dispose();
}
private void button1_Click(object sender, EventArgs e)
{
// path =
// Test();
this.Paint += Form1_Paint;
this.Invalidate();
//this.Refresh();
}