Codevia.WinForm.Router.NetFramework 1.0.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package Codevia.WinForm.Router.NetFramework --version 1.0.0.8                
NuGet\Install-Package Codevia.WinForm.Router.NetFramework -Version 1.0.0.8                
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.0.8" />                
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.0.8                
#r "nuget: Codevia.WinForm.Router.NetFramework, 1.0.0.8"                
#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.0.8

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

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.

Product Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 3.5

    • 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,545 7/26/2023
1.0.1.2 6,435 7/26/2023
1.0.1 6,613 7/26/2023
1.0.0.9 6,681 7/26/2023
1.0.0.8 1,251 5/23/2023
1.0.0.7 1,247 5/23/2023
1.0.0 1,254 5/23/2023