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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use MetroForm in Visual Basic.NET?

Thread ID:





131446 Jul 10,2017 03:30 PM UTC Jul 12,2017 07:22 AM UTC WinForms 1
Tags: MetroForm
Elvis Montezuma
Asked On July 10, 2017 03:30 PM UTC

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?

Mallika Kannan [Syncfusion]
Replied On 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.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon