mirror of
https://github.com/4sval/FModel.git
synced 2026-03-22 01:34:37 -05:00
21 lines
402 B
C#
21 lines
402 B
C#
using System.Windows;
|
|
using FModel.ViewModels;
|
|
|
|
namespace FModel.Views;
|
|
|
|
public partial class UpdateView
|
|
{
|
|
public UpdateView()
|
|
{
|
|
DataContext = new UpdateViewModel();
|
|
InitializeComponent();
|
|
}
|
|
|
|
private async void OnLoaded(object sender, RoutedEventArgs e)
|
|
{
|
|
if (DataContext is not UpdateViewModel viewModel) return;
|
|
await viewModel.Load();
|
|
}
|
|
}
|
|
|