Skip to content

modern-forms/Modern.Forms

Repository files navigation

What is Modern.Forms?

*** This framework is currently in its early stages. Use at your own risk. ***

Modern.Forms is an open-source cross-platform spiritual successor to Winforms for .NET 6, supporting Windows, Mac, and Linux.

If you are looking for an open-source cross-platform spiritual successor to WPF, see Avalonia.

Motivation

The goal is to create a spiritual successor to Winforms that is:

  • Cross platform (Windows / Mac / Linux)
  • Familiar for Winforms developers (ie: not XAML)
  • Great for LOB applications and quick apps
  • Updated with modern controls and modern aesthetics

Getting Started

To create your own Modern.Forms application, see Getting Started.

How to Run

Sample Application

The quickest way to see Modern.Forms in action is through our ModernDecompiler sample application, which allows you to decompile .NET assemblies. (Source Code)

From a Windows, Mac, or Linux command line with .NET 6 installed:

dotnet tool install --global ModernDecompile
decompile

This will launch the sample application built with Modern.Forms.

ModernDecompiler Screenshot

Other Samples

Some smaller samples are available in the Modern.Forms repository:

  • ControlGallery - Gallery of the controls included in Modern.Forms in action.
  • Explore - A Windows Explorer clone.
  • Outlaw - A Microsoft Outlook clone.

For information on building and running these samples, see Samples.

Build Status

.NET Build