Codevia.WinForm.Router.NetFramework 1.0.1.3

dotnet add package Codevia.WinForm.Router.NetFramework --version 1.0.1.3
NuGet\Install-Package Codevia.WinForm.Router.NetFramework -Version 1.0.1.3
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="Codevia.WinForm.Router.NetFramework" Version="1.0.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codevia.WinForm.Router.NetFramework --version 1.0.1.3
#r "nuget: Codevia.WinForm.Router.NetFramework, 1.0.1.3"
#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.
// Install Codevia.WinForm.Router.NetFramework as a Cake Addin
#addin nuget:?package=Codevia.WinForm.Router.NetFramework&version=1.0.1.3

// Install Codevia.WinForm.Router.NetFramework as a Cake Tool
#tool nuget:?package=Codevia.WinForm.Router.NetFramework&version=1.0.1.3

The Router is designed to facilitate navigation and dynamic management of views and forms in a Windows Forms application. It provides methods and functionalities to switch between different views, pass props during navigation, and control routing in general.
Key Features:

   View Registration: The router allows registering a list of routes or views available in the application. Each route contains information such as the route name, associated component (form), navigation type, and corresponding image/icon.
   View Switching: Through the To methods, the router facilitates the transition from one view to another. You can specify the route name and optionally pass props or additional parameters to customize the target.
   view. The router handles the transition between the corresponding forms.
   Props Management: The router supports the ability to pass props or additional properties during view switching. These props can be used to transfer relevant information to the destination view and enable further customization and adaptability.
   Different Navigation Types: The router allows specifying different navigation types, such as standard navigation, displaying forms in the center of the screen, default dialogs, and custom dialogs. Each navigation type is handled differently, based on the logic defined in the corresponding methods.

Benefits:

   Modularity and Flexibility: The router facilitates the creation of more modular and flexible Windows Forms applications by enabling dynamic management of views and forms.
   Component Reusability: The router's approach allows for reusing components and forms in different sections of the application, improving development and maintenance efficiency.
   Separation of Concerns: By centralizing navigation management in the router, it achieves better separation of concerns and a more organized code structure.

In summary, the Router class implemented in C# provides a solution for dynamic management of views and forms in a Windows Forms application. It allows switching between different views, passing props during navigation, and controlling various navigation types. With this implementation, you can achieve greater modularity, flexibility, and component reusability in your application.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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.1.3 6,531 7/26/2023
1.0.1.2 6,420 7/26/2023
1.0.1 6,601 7/26/2023
1.0.0.9 6,676 7/26/2023
1.0.0.8 1,246 5/23/2023
1.0.0.7 1,235 5/23/2023
1.0.0 1,250 5/23/2023