using System.Windows;

namespace ITNexusAgent.UI;

public partial class MessageDialog : Window
{
    public string Message { get; private set; } = "";

    public MessageDialog() => InitializeComponent();

    private void Send_Click(object sender, RoutedEventArgs e)
    {
        Message = MessageBox.Text.Trim();
        DialogResult = true;
    }

    private void Cancel_Click(object sender, RoutedEventArgs e) => DialogResult = false;
}
