Snippet:
-----------------------------------------------------------
Expand|Select|Wrap|Line Numbers
- void panel_Image_Paint(object sender, PaintEventArgs e)
- {
- if (Clipboard.ContainsImage())
- {
- Point p1 = new Point(i, 0);
- e.Graphics.DrawImage(Clipboard.GetImage(), p1);
- i += img.Width;
- }
- }
I want to retain the previously drawn image in the panel, when the new image is being drawn. The clipboard is being refreshed on each button click with the new image. Any help would be highly appreciated!!!!
Thanks..