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.
26 lines
775 B
26 lines
775 B
using System.Windows; |
|
using StabilityMatrix.ViewModels; |
|
using Wpf.Ui.Contracts; |
|
using Wpf.Ui.Controls.ContentDialogControl; |
|
|
|
namespace StabilityMatrix; |
|
|
|
public partial class SelectInstallLocationsDialog : ContentDialog |
|
{ |
|
public SelectInstallLocationsDialog(IContentDialogService dialogService, SelectInstallLocationsViewModel viewModel) : base( |
|
dialogService.GetContentPresenter()) |
|
{ |
|
InitializeComponent(); |
|
DataContext = viewModel; |
|
} |
|
|
|
private void ContinueButton_OnClick(object sender, RoutedEventArgs e) |
|
{ |
|
Hide(ContentDialogResult.Primary); |
|
} |
|
|
|
private void SelectInstallLocationsDialog_OnLoaded(object sender, RoutedEventArgs e) |
|
{ |
|
((SelectInstallLocationsViewModel) DataContext).OnLoaded(); |
|
} |
|
}
|
|
|