Presenter Library for Winforms.
$ dotnet add package WinViewWinView is a simple, ergnomic way of displaying forms through a main form.
Search WinView in Nuget and click Install.
To use WinView, navigate to the Program.cs file in your project.
Be sure to add the appropriate usings at the top of the file.
using CourseworkUtils.WinView;
using CourseworkUtils.WinView.Forms;
Replace this line:
Application.Run(new Form1());
With this:
WinView.Init<Form1>();
Where Form1 is the initial form you wish to display.
To display another form after init, you can use the following code
WinView.Present<Form2>();