20 lines
446 B
C#
20 lines
446 B
C#
using System.Windows.Controls;
|
|
using UtopiaCanteen.Client.ViewModels;
|
|
|
|
namespace UtopiaCanteen.Client.Views;
|
|
|
|
public partial class ClientSettingsView : UserControl
|
|
{
|
|
public ClientSettingsView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public ClientSettingsView(ClientSettingsViewModel viewModel)
|
|
{
|
|
InitializeComponent();
|
|
DataContext = viewModel;
|
|
Loaded += (_, _) => _ = viewModel.InitializeAsync();
|
|
}
|
|
}
|