public LegalWindow()
        {
            InitializeComponent();

            LegalBox.Text = ResourceProvider.GetEmbeddedResource("legal.txt");

            PreviewKeyDown += (sender, args) =>
            {
                if (args.Key == Key.Escape)
                {
                    Close();
                }
            };
        }