Hi all ,
I am facing a problem and need help form u people ..so many thanks to u all in advance....
I have added a panel over the other Panel and on the Base panel i am drawing a Bitmap and want to see the content of that bitmap on the child bitmap ....Is there some way to do this...
I made the child's panel background color transparent but that is not workign
Seeking for ur co-opration
thanks in advance
~vinod
Mahesh ChandPosted Mar 20, 2009, 9:55 AM
You need to create a Graphics object by using your Panel, which you want to draw a bitmap on.
Graphics g = Panel.CreateGraphics();
Now use this Graphics object to draw your image on.
g.DrawImage(...);
In the end,
g.Dispose();
That will do the trick.