mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-22 13:50:14 +00:00
19 lines
541 B
C#
19 lines
541 B
C#
|
using MSFSPopoutPanelManager.MainApp.ViewModel;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Windows;
|
|||
|
|
|||
|
namespace MSFSPopoutPanelManager.MainApp.AppUserControl.Dialog
|
|||
|
{
|
|||
|
public partial class ConfirmationDialog
|
|||
|
{
|
|||
|
public ConfirmationDialog(string content, string confirmButtonText)
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
if (DesignerProperties.GetIsInDesignMode(new DependencyObject()))
|
|||
|
return;
|
|||
|
|
|||
|
DataContext = new ConfirmationViewModel(content, confirmButtonText);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|