How to make it Windows form in circle space

Siyamala
Siyamala used Ask the Experts™
on
Hi

How to make it Windows form in circle space while Loading
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi

Bellow sample coding help u

sample coding


 #Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()
        Dim path As New Drawing2D.GraphicsPath
        path.AddEllipse(85, 0, 250, 250)
        path.AddEllipse(135, 50, 150, 150)
        Me.Region = New Region(path)
        Me.BackColor = Color.Goldenrod

        'Dim path As New Drawing2D.GraphicsPath
        'path.AddEllipse(85, 50, 250, 150)
        'path.AddEllipse(135, 0, 150, 250)
        'Me.Region = New Region(path)

        'Dim path As New Drawing2D.GraphicsPath
        'path.AddArc(70, 10, 150, 150, 135, 195)
        'path.AddArc(200, 10, 150, 150, 210, 195)
        'path.AddLine(92, 139, 210, 270)
        'path.AddLine(327, 139, 210, 270)
        'path.AddLine(327, 139, 92, 139)
        'Me.Region = New Region(path)



    End Sub

Author

Commented:
Coverted to C#

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial