Hi!
I want to make a form i vb.net wish will lay as a little window on the
side of the main window of an extern program. Pretty much like a
tool-window or something to photoshop.
When the extern program is minimized I want also the form to be
minimized and when the extrern app is bringed to fr...
more >>
I have a control that I'm drawing a colored Gradient backgound on (using the
"OnPaintBackground" override method). What I'm wondering is:
How can I get a sub-control within the painted control (an Label for
instance) to reflect the gradiant colors at the point it is situated within
the contro...
more >>
I'm painting a gradient onto a control by overrideing the
"OnPaintBackground" method like so:
Protected Overrides Sub OnPaintBackground(ByVal e As PaintEventArgs)
Dim brush As New LinearGradientBrush( _
New Point(0, 0), _
...
more >>
Hi,
There seems to be a memory leak problem in loading an image in .NET
I am trying to load up an image, which is 1MB in size on the disk. When I load up the image it expands out to atleast 25MB in memory. THIS cannot be right!!
The line of code I am using is:
"formImage = new Bitmap("Fo...
more >>
How would I go about setting a gradient (from Color A to Color B) as a
background for something like a panel?
I don't want to resort to using XP-themes (so that it'll run on pre-XP
systems). Basically I have some 3rd party controls that have gradient
backgrounds - but I need to be able to rep...
more >>