.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Code Snippets >> Windows Form Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Name Shaped Form using Region

Posted By:Hefin Dsouza       Posted Date: August 12, 2009    Points: 10    Category: Windows Form Controls    URL: http://www.dotnetspark.com  

This Code Will Make a Form Shape Like any name.
This is very Difficult to explain see this image for yourself

gp.AddString(InputBox("Enter Your Name", "Enter A Name"), New FontFamily("Arial"), 2, 100, New PointF(0, 0), New StringFormat())
Me.Region = New Region(gp)

Cool Trick To Make a form take a shape of a name.
Regards Hefin Dsouza


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend