private void ResetButton_Click(object sender, RoutedEventArgs e)
        {
            //Replaces the current HUDConfig with the backed-up one and resets the window
            RAFMasterFileList list = new RAFMasterFileList(_LeagueLocation);
            var HUDConfig = list.SearchFileEntries("Clarity_RenderUI.bin")[0];
            HUDConfig.ReplaceContent(File.ReadAllBytes(Path.Combine("HUD", MainWindow.current_version, "HUDConfig.bin.bak")));
            HUDConfig.RAFArchive.SaveRAFFile();

            File.Delete(Path.Combine("HUD", MainWindow.current_version, "HUDConfig.bin"));
            File.Copy(Path.Combine("HUD", MainWindow.current_version, "HUDConfig.bin.bak"), Path.Combine("HUD", MainWindow.current_version, "HUDConfig.bin"));

            MessageBox.Show("HUD has been reset.");
            HUDWindow window = new HUDWindow(_location);
            window.Show();
            this.Close();
        }
 private void HUDButton_Click(object sender, RoutedEventArgs e)
 {
     HUDWindow window = new HUDWindow(LocationTextbox.Text);
     window.Show();
 }