private void SetLocale(Locale locale) { MainMenu.Text = locale.GetMainMenuText(); SinglePlayerMenu.Text = locale.GetSinglePlayerMenuText(); LowDifficult.Text = locale.GetLowDifficultText(); HardDifficult.Text = locale.GetHardDifficultText(); ExitMenu.Text = locale.GetExitMenuText(); LanguageMenu.Text = locale.GetLanguageMenuText(); ScoreMenu.Text = locale.GetScoreMenuText(); AboutMenu.Text = locale.GetAboutMenuTitleText(); }
/// <summary> /// About menu click event method /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AboutMenu_Click(object sender, EventArgs e) { MessageBox.Show("Tic Tac Toe v1.1\rCopyright ©Sushkov D.I. 2019", locale.GetAboutMenuTitleText()); }