protected void btnStartGame_Click(object sender, EventArgs e)
        {
            if (tbPlayerName.Text.Length == 0 || tbPlayerName.Text.Length > 10)
            {
                Response.Redirect("StartPage.aspx");
            }
            else
            {
                GameManager manager = new GameManager();
                manager.NameContext = tbPlayerName.Text;
                manager.ThemeContext = ddlThemes.SelectedItem.Text;

                Response.Redirect("MainPage.aspx");
            }
        }
 protected void Page_PreInit(object sender, EventArgs e)
 {
     GameManager manager = new GameManager();
     Page.Theme = manager.ThemeContext;
 }