WinView 1.0.0

dotnet add package WinView --version 1.0.0
                    
NuGet\Install-Package WinView -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WinView" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WinView" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="WinView" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WinView --version 1.0.0
                    
#r "nuget: WinView, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=WinView&version=1.0.0
                    
Install WinView as a Cake Addin
#tool nuget:?package=WinView&version=1.0.0
                    
Install WinView as a Cake Tool

WinView

WinView is a simple, ergnomic way of displaying forms through a main form.

Installation

Search WinView in Nuget and click Install.

Usage

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>();
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0-windows7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 122 4/3/2025

Initial Release!