using System.Windows;
using ConeCalorimeter.ViewModels;

namespace ConeCalorimeter.Views;

public partial class HelpDialogWindow : Window
{
    public HelpDialogWindow(string headerText, string titleText, string bodyText)
    {
        InitializeComponent();
        DataContext = new HelpDialogViewModel(headerText, titleText, bodyText);
    }

    private void ConfirmButton_Click(object sender, RoutedEventArgs e)
    {
        DialogResult = true;
        Close();
    }
}
