Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

Setup a Manged WPF control for drag 'n' drop

$
0
0
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)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>