String path = ...; Bitmap myImage = new Bitmap(path); pictureBox1.Image = myImage; Clipboard.SetDataObject(myImage);
Bitmap b = new Bitmap(this.textBox1.Text); b.MakeTransparent(this.BackColor); pictureBox1.Image = b; Clipboard.SetDataObject(b);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)