In an earlier post I have made an example of to make a form with a drag 'n' drop enabled WPF control. Now, here is the initialization code to put a nice image in the control (which is a PictureBox control now), and set the transparency color of the control to the background color of , in this case, the tab page it is on: private void initDropControl() { Image resImg; System.Drawing.Image img; System.Drawing.Color backGroundColor; int colorR; int colorG; int colorB; System.Windows.Forms.PictureBox...(read more)
↧