Esempio n. 1
0
        private void buttonSearch_Click(object sender, EventArgs e)
        {
            string s = textBox1.Text;

            if (s != "")
            {
                tr = new ClassTree();
                tr.CreateTreeSearch(s);
                s = tr.PrintTree();
                textBoxTree.Text = s;
            }
            else
            {
                MessageBox.Show("Нет данных для построения дерева");
                textBox1.Focus();
            }
            textBoxBr.Text   = "";
            textBoxIn.Text   = "";
            textBoxPost.Text = "";
            textBoxPre.Text  = "";
        } //упорядоченное
Esempio n. 2
0
        } //упорядоченное

        private void Form1_Load(object sender, EventArgs e)
        {
            tr = new ClassTree();
        }