Create windows forms in Any Shape in

following example show that how to create shaped windows form in

in this example we will create windows form in Ellipse shape.

Put this code on Windows Form’s Paint event


    Private Sub Form1_Paint(ByVal sender As System.Object, _
          ByVal e As System.Windows.Forms.PaintEventArgs) _
           Handles MyBase.Paint
        Dim Tempshape As New System.Drawing.Drawing2D.GraphicsPath()
        Tempshape.AddEllipse(0, 0, Me.Width, Me.Height)
        Me.Region = New System.Drawing.Region(Tempshape)
    End Sub


        private void Form1_Paint(object sender, PaintEventArgs e)
            System.Drawing.Drawing2D.GraphicsPath Tempshape = 
                new System.Drawing.Drawing2D.GraphicsPath();
            Tempshape.AddEllipse(0, 0, this.Width, this.Height);
            this.Region = new System.Drawing.Region(Tempshape);