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.
27 lines
632 B
27 lines
632 B
using System.Windows; |
|
using StabilityMatrix.ViewModels; |
|
using Wpf.Ui.Controls.Window; |
|
|
|
namespace StabilityMatrix; |
|
|
|
public partial class UpdateWindow : FluentWindow |
|
{ |
|
private readonly UpdateWindowViewModel viewModel; |
|
|
|
public UpdateWindow(UpdateWindowViewModel viewModel) |
|
{ |
|
this.viewModel = viewModel; |
|
InitializeComponent(); |
|
DataContext = viewModel; |
|
} |
|
|
|
private async void UpdateWindow_OnLoaded(object sender, RoutedEventArgs e) |
|
{ |
|
await viewModel.OnLoaded(); |
|
} |
|
|
|
private void RemindMeLaterButton_OnClick(object sender, RoutedEventArgs e) |
|
{ |
|
Close(); |
|
} |
|
}
|
|
|