by Gehan Fernando (47 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Wed 7th March 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)
VB.Net - Create Ellipse Form Using Paint Event, Less Code, NO API Functions ....
Dim gr As System.Drawing.Graphics = Me.CreateGraphics()
gr.FillEllipse(System.Drawing.Brushes.Black, 0, 0, _
Me.ClientSize.Width - 5, _
Me.ClientSize.Height - 5)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.BackColor = Color.DarkGray
Me.TransparencyKey = Color.DarkGray
End Sub
No comments have been posted about VB.Net - Create Ellipse Form Using Paint Event, Less Code, NO API Functions ..... Why not be the first to post a comment about VB.Net - Create Ellipse Form Using Paint Event, Less Code, NO API Functions .....