Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
855 B

using System.Windows;
using System.Windows.Controls;
using StabilityMatrix.ViewModels;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
namespace StabilityMatrix
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class PackageManagerPage : Page
{
private readonly PackageManagerViewModel viewModel;
public PackageManagerPage(PackageManagerViewModel viewModel)
{
this.viewModel = viewModel;
InitializeComponent();
DataContext = viewModel;
}
private async void InstallPage_OnLoaded(object sender, RoutedEventArgs e)
{
await viewModel.OnLoaded();
}
}
}