1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-25 15:20:10 +00:00
msfs-popout-panel-manager/MainApp/AppUserControl/Dialog/ConfirmationDialog.xaml.cs

19 lines
541 B
C#
Raw Normal View History

2024-02-28 02:44:21 +00:00
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);
}
}
}