Originally posted by hellswraith
LOL, your operating on a pretty slow processor....didn't know they made the Athlons that slow..lol
Ooops, did I say Athlon? I meant 286

Originally posted by Tygur

These speed ratios actually make some sense after a bit of thought. Of course, I suggest that you look into using the LinearGradientBrush to make a full-sized bitmap and forget about stretching a smaller one
Is there a way to create a Bitmap from a LinearGradientBrush? I'm assuming your talking about using a LinearGradientBrush with the CreateGraphics thingy, but if not then PLEASE LET ME KNOW! I would love to be able to create a Bitmap from a LinearGradientBrush.

The reason why I don't like to use a LinearGradientBrush with CreateGraphics is that then you have to make sure that your Graphics are updated after a Resize, a Move, or when a control with a lower ZOrder moves. In some cases this can cause problems because an event might not finish before the CreateGraphics is called so the resultant Graphic can use old information. Maybe there is a slick way to avoid this problem, but I haven't found it. (DoEvents scare me so I try to avoid them whenever possible.) With a Bitmap you only have to worry about the Resize event so Bitmaps are much easier for me to manage. Don't get me wrong, CreateGraphics is definitely my top pick when I'm sure that controls aren't moving.