We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to use MetroForm in Visual Basic.NET?

Hello All.
I am using your free license for Visual Basic.NET.
I want to use the MetroForm as MDI container in my app, but Iam not able to do that. Sorry, Iam new in Syncfusion...
I downloaded your MetroForm simple for Visual Basic net, but it does not run properly.
As you mentioned in your sample, I added the syncfusion.shared.base reference to my Project and I wrote the next code in my Form
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Drawing
Imports System.Text
Imports System.Windows.Forms
Imports Syncfusion.Windows.Forms
Inherits MetroForm
Public Class Form1
End Class
what next?...I mean, how can I do to work with Metroform?

1 Reply

MK Mallika Kannan Syncfusion Team July 12, 2017 07:22 AM UTC

Hi Elvis  
Thank you for contacting Syncfusion support.  
You can create the MetroForm by using the following steps:  
  • Create a project.
  • Add the Syncfusion.Shared.Base.dll as a reference.
  • Open the Code Window in Form1.
  • Use the following code example to render the MetroForm.
Please make use of the below Code example: 
Code example 
'Add Reference  
Imports Syncfusion.Windows.Forms  
Partial Public Class Form1  
        Inherits MetroForm  
        Public Sub New()  
             'Write the required Codes Here  
End Sub  
As You have mentioned the MDI container used in MetroForm. We have also prepared the required sample and please refer the below Screenshot.     
Sample: MetroFormExample   
Kindly check the above solution and let us know if it is helpful.  

Live Chat Icon For mobile
Up arrow icon