![]() |
Give your form any shape you want (Form; VB.NET)
How does a form look like in VB.NET?
Don't you feel like changing this shape for some of your applications like following:
Doing this was hell of a job in Visual Basic 6. In .net, it is a matter of two lines of code!! The Code Private Sub frmMain_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) _ For quick understanding, let is check the points to notice in the above code:
Although the code and technique is simple, I understand that there might be some issues. If you think that I can help you in any way, please feel free to contact me at rahul@coder000.com. |