mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-24 14:50:10 +00:00
20 lines
498 B
C#
20 lines
498 B
C#
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;
|
|
}
|
|
|
|
private void btnDialogYes_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
this.DialogResult = true;
|
|
}
|
|
}
|
|
}
|