mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-25 15:20:10 +00:00
36 lines
916 B
C#
36 lines
916 B
C#
|
using MahApps.Metro.Controls;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Windows;
|
|||
|
using System.Windows.Controls;
|
|||
|
using System.Windows.Data;
|
|||
|
using System.Windows.Documents;
|
|||
|
using System.Windows.Input;
|
|||
|
using System.Windows.Media;
|
|||
|
using System.Windows.Media.Imaging;
|
|||
|
using System.Windows.Shapes;
|
|||
|
|
|||
|
namespace MSFSPopoutPanelManager.WpfApp
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Interaction logic for ConfirmationDialog.xaml
|
|||
|
/// </summary>
|
|||
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|