예제 #1
0
        public void UpdateSet()
        {
            if (decisionMaker.IsFinished == false)
            {
                var attributeName = decisionMaker.GetAttributeToAsk();
                questionLabel.Content = attributeName + " ?";

                yesAnswerButton.Visibility = Visibility.Visible;
                noAnswerButton.Visibility  = Visibility.Visible;

                return;
            }

            SetResultMessage();
            decisionMaker.Reset();
            resultGrid.Visibility  = Visibility.Visible;
            controlGrid.Visibility = Visibility.Collapsed;
        }