Pei,
This is something you will have to manage yourself, as .NET Graphics
primitives don't really support this kind of activity. What you might want
to do is create separate images, with separate device contexts, which would
be your "layers". When you want to combine them all, you would just take
all the layers, and draw them onto another device context, and dispose of
the layers.
It might be a little intensive (resource-wise) to do something like
this, but the general idea is the same.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"pei_world" <pe*******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
hi
I want to know how to create multiple layers in C#. and how can I control
them?
for example, how to delete one icon from drawed image layer?
any example will be good
pei