Example #1
0
        private void button2ndAlgorithm_Click(object sender, EventArgs e)
        {
            string from = checkedListBoxFrom.SelectedItem.ToString();
            string to   = checkedListBoxTo.SelectedItem.ToString();

            richTextBox1.Text = Builder.FindPathWithLeastSteps(from, to);
            richTextBox2.Text = Builder.Result;
        }