private void DivineButton_Click(object sender, RoutedEventArgs e)
        {
            int lengthChoice = 10;

            if (comboBox.SelectedIndex == 0)
            {
                lengthChoice = 10;
            }
            else if (comboBox.SelectedIndex == 1)
            {
                lengthChoice = 40;
            }
            else
            {
                lengthChoice = 100;
            }

            if (MarkovMaker.DictionaryMade)
            {
                textBox.Text = MarkovMaker.Divine(lengthChoice);
            }
            else
            {
                label.Content = MarkovMaker.Status;
            }
        }
 private void LoadButton_Click(object sender, RoutedEventArgs e)
 {
     label.Content = "Loading...";
     MarkovMaker.AddToDictionary(true);
     label.Content = MarkovMaker.Status;
     if (MarkovMaker.DictionaryMade)
     {
         divineButton.IsEnabled = true;
         addButton.IsEnabled    = true;
     }
 }
 private void AddButton_Click(object sender, RoutedEventArgs e)
 {
     MarkovMaker.AddToDictionary(false);
     label.Content = MarkovMaker.Status;
 }
 public DivineWindow()
 {
     InitializeComponent();
     MarkovMaker.ClearDictionary();
     label.Content = MarkovMaker.Status;
 }