mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 13:07:55 +00:00
25 lines
526 B
C#
25 lines
526 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Controls;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WinUI
|
|
{
|
|
public static class Switcher
|
|
{
|
|
public static PageSwitcher pageSwitcher;
|
|
|
|
public static void Switch(UserControl newPage)
|
|
{
|
|
pageSwitcher.Navigate(newPage);
|
|
}
|
|
|
|
public static void Switch(UserControl newPage, object state)
|
|
{
|
|
pageSwitcher.Navigate(newPage, state);
|
|
}
|
|
}
|
|
}
|