Skip to content

A simple navigation sub system for WinForms projects.

License

Notifications You must be signed in to change notification settings

jpreece6/NavigationLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NavigationLib

A simple navigation sub system for WinForms projects.

Super simple to register views.

NavigationSystem.Register("HomePage", new HomeView());
NavigationSystem.Register("SettingsPage", new SettingsView());

Set a home view which may be visited frequently

NavigationSystem.SetHome("HomePage");
NavigationSystem.GoHome();

Navigate using keys.

NavigationSystem.NavigateTo("SettingsPage");
NavigationSystem.GoBack();

Message System

The navigation library also provides a basic messaging system to communicate data between views.

MessageSystem.SendMessage("SettingsPage", "EnableField", true);

You can also broadcast a message to all views.

MessageSystem.Broadcast("PopulateBuffers", { "Any Data", "Any Type" });

About

A simple navigation sub system for WinForms projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages