Bitmap img = new Bitmap(btn1.BackgroundImage); Clipboard.Clear(); Clipboard.SetDataObject(img); DataFormats.Format myFormat = DataFormats.GetFormat(DataFormats.Bitmap); rtbWriteMsg.Paste(myFormat); img.Dispose(); rtbWriteMsg.Focus();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)