Download and Install Metro Framework

This post shows you how to download and install metro framework from nuget or offline without using visual studio, then add metro framework to visual studio toolbox and then create a simple dashboard in c# windows forms application.

The MetroFramework is a library help you design an awesome metro modern UI, brings Windows 8 UI to .NET Windows Forms application.

Supported platforms: Windows XP SP1/SP2/SP3, Windows Vista, Windows 7/8/10

To practice demo, you should create New Project, by selecting Visual C# on the left, then Windows and then select Windows Forms Application. Name your project "MetroUI" and then click OK.

After completing the creation of the new project, you need to right click on your project, then select Manage NuGet Packages -> search metro framework -> install it on your project as shown below.

install metro framework

To create a simple metro ui, you can drag the MetroTitle controls from visual studio toolbox to your windows forms application, then you can layout your metro dashboard form as shown below.

metro dashboard

Open your Form1 code behind, you need to change your inheritance from Form to MetroForm, then add your code to handle metro link click event as the following.

public partial class Form1 : MetroFramework.Forms.MetroForm
    public Form1()

    private void metroLink2_Click(object sender, EventArgs e)
        MetroFramework.MetroMessageBox.Show(this, "Next");

    private void metroLink1_Click(object sender, EventArgs e)
        MetroFramework.MetroMessageBox.Show(this, "Back");

We simply display the metro message box when we click the back and next link button.