WIn_RustTools/RustTools/Views/UserPage.xaml.cs

24 lines
577 B
C#
Raw Normal View History

2024-07-15 05:22:53 +00:00
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
{
2024-08-15 01:40:33 +00:00
public UserViewModel UserViewModel
{
get; set;
}
2024-07-15 05:22:53 +00:00
public UserPage()
{
2024-08-15 01:40:33 +00:00
UserViewModel = App.GetService<UserViewModel>();
2024-07-15 05:22:53 +00:00
InitializeComponent();
}
}