コード例 #1
0
        private void ok_Click(object sender, EventArgs e)
        {
            var questionAnimalForm = new QuestionAttributeForm();

            questionAnimalForm.Show();
            Hide();
        }
コード例 #2
0
        private void no_Click(object sender, EventArgs e)
        {
            Singleton.GameMechanics.SelectNo();

            if (Singleton.GameMechanics.IsAnimal)
            {
                var questionAnimalForm = new QuestionAnimalForm();
                questionAnimalForm.Show();
                Close();
            }
            else
            {
                var questionAttributeForm = new QuestionAttributeForm();
                questionAttributeForm.Show();
                Close();
            }
        }