WIn_RustTools/RustTools/Views/UserPage.xaml.cs
2024-08-15 09:40:33 +08:00

24 lines
577 B
C#

using Microsoft.UI.Xaml.Controls;
using RustTools.ViewModels;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
namespace RustTools.Views;
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class UserPage : Page
{
public UserViewModel UserViewModel
{
get; set;
}
public UserPage()
{
UserViewModel = App.GetService<UserViewModel>();
InitializeComponent();
}
}