1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-29 09:10:09 +00:00
msfs-popout-panel-manager/WpfApp/ConfirmationDialog.xaml.cs

22 lines
531 B
C#
Raw Normal View History

2022-01-27 13:40:04 +00:00
using MahApps.Metro.Controls;
using System.Windows;
namespace MSFSPopoutPanelManager.WpfApp
{
public partial class ConfirmationDialog : MetroWindow
{
public ConfirmationDialog(string title, string message)
{
InitializeComponent();
this.Title = title;
this.txtMessage.Text = message;
this.Topmost = true;
2022-01-27 13:40:04 +00:00
}
private void btnDialogYes_Click(object sender, RoutedEventArgs e)
{
this.DialogResult = true;
}
}
}