private void вГлубинуToolStripMenuItem_Click(object sender, EventArgs e) { main_tree.GoToDeep(main_tree.root); Logs.Text = main_tree.OutS; NameTextBox.Text = "Обход в глубину"; main_tree.OutS = ""; }