private void RBTreeForm_Load(object sender, EventArgs e) { stepsForm = new RBTreeStepsForm(); stepsForm.Show(); rbTree = new RBTree(stepsForm); addIntegers = new List <int>(); removeIntegers = new List <int>(); }
private void btnSteps_Click(object sender, EventArgs e) { if (!stepsFormShown) { stepsForm.Show(); stepsFormShown = true; } else { stepsForm.Hide(); stepsFormShown = false; } }