Bershama,
What do you mean by bnt?
Do you mean button?
Set the Control.Region property of your button to the shape you want. You
can use a GraphicsPath object to create the region.
I normally put the following code in both the constructor & the Resize event
(a subroutine called from both).
For an round button try something like:
m_path = New System.Drawing. Drawing2D.Graph icsPath()
m_path.AddEllip se(me.ClientRec tangle)
Me.Region = New System.Draing.R egion(m_path)
Then as William suggested you can use a PathGradientBru sh to paint it.
Hope this helps
Jay
"bershama" <th****@hotmail .com> wrote in message
news:02******** *************** *****@phx.gbl.. .
i want to make a shaped bnt like star or circle something
like that .(with the full code)