ImageAttributes imageAttr = new ImageAttributes ();
ImageAttr. SetGamma (1.0F); // specifies the re-coloring and Gamma information of the image object.
Pevent. graphics. drawImage (this. parent. backgroundImage, new Rectangle (0, 0, this. width, this. height), this. left, this. top, this. width, this. height, System. drawing. graphicsUnit. pixel, imageAttr); // method for removing stamp effects supported by the fertilization lite frame.
Description:
1. Use the OnPaint method of the space to redraw the control (with the background) to achieve transparent effect (the transparent control of the focus can be used)
2, new Rectangle (0, 0, this. Width, this. Height) the first two parameters must be 0, 0.
3. The effect of the stamp is yes. net's scaling mechanism can be used to draw the source area based on the known area.
4. The art interface + Your transparent controls will be O!
5. Leave a message if you have any questions! Achieve each person through communication