Exemple #1
0
        private static void AddWordSubButton_Click(object sender, EventArgs e)
        {
            var prompt = new DictionaryWordPrompt(advanced: false)
            {
                Text = "Добавяне на дума в речника"
            };
            var wordAdded = prompt.ShowDialog() == DialogResult.OK;

            if (wordAdded)
            {
                //WordController.SaveWords();
                //WordController.LoadWords();
                Game.Game.Current.TurnErrors.Clear();
                SidebarController.RenderWords();
            }
        }
Exemple #2
0
 private static void ButtonResetClick(object sender, EventArgs e)
 {
     HandController.ReturnAllToHand();
     SidebarController.RenderWords();
 }