XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

LogiBoardToolBox

【WinUI】罗技鼠标板载驱动程序

公开
关注 0 Fork 0 Star 0
GB18030 / GBK
using Microsoft.UI.Xaml.Navigation;

namespace LogiBoardToolBox.Views
{
    /// <summary>
    /// 锟斤拷锟斤拷锟斤拷锟斤拷志页锟斤拷
    /// </summary>
    public sealed partial class LogViewPage : Page
    {
        public string? Parameter { get; set; }
        public static LogViewPage? Current { get; set; }
        public LogViewPageViewModel ViewModel { get; set; } = new();
        public LogViewPage()
        {
            Current = this;
            this.InitializeComponent();
        }

        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            ViewModel.AutoNavigationParameterService.OnParameterChange(e.Parameter);
        }
    }
}