Esempio n. 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (checkedListBox1.SelectedIndex == 0)
     {
         while (main_tree.root != null)
         {
             main_tree.Delete(main_tree.root.Value);
         }
     }
     main_tree.AllDraw();
     NameTextBox.Text = "Очистка";
     textBox1.Text    = Logs.Text = "";
 }