i remember to see in a topic i think that this first piece of code would be faster than the second one:
second:PHP Code:System.Deviantart.Implementation t = this.devImplementation;
e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(t.MaskAlpha, t.MaskRed, t.MaskGreen, t.MaskBlue)), 0, 0, this.Width, this.Height);
Code:System.Deviantart.Implementation t = this.devImplementation; e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(this.DevImplementation.MaskAlpha, this.DevImplementation.MaskRed, this.DevImplementation.MaskGreen, this.DevImplementation.MaskBlue)), 0, 0, this.Width, this.Height);




Reply With Quote