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.
23 lines
566 B
23 lines
566 B
using System.Windows; |
|
using System.Windows.Controls; |
|
using StabilityMatrix.ViewModels; |
|
|
|
namespace StabilityMatrix; |
|
|
|
public sealed partial class LaunchPage : Page |
|
{ |
|
private readonly LaunchViewModel viewModel; |
|
|
|
public LaunchPage(LaunchViewModel viewModel) |
|
{ |
|
this.viewModel = viewModel; |
|
InitializeComponent(); |
|
DataContext = viewModel; |
|
} |
|
|
|
private void LaunchPage_OnLoaded(object sender, RoutedEventArgs e) |
|
{ |
|
viewModel.OnLoaded(); |
|
SelectPackageComboBox.ItemsSource = viewModel.InstalledPackages; |
|
} |
|
}
|
|
|