private void BackToMenu_Click(object sender, RoutedEventArgs e)
        {
            MenuWindow newWindow = new MenuWindow();

            var button = sender as Button;
            var window = Window.GetWindow(button);

            window.Close();
            newWindow.Show();
        }
        private void OpenWindow(object sender, RoutedEventArgs e)
        {
            MenuWindow objMenuWindow = new MenuWindow();

            var button = sender as Button;
            var window = Window.GetWindow(button);

            window.Close();
            objMenuWindow.Show();
        }