private void button2_Click(object sender, EventArgs e) { if (textBox1.Text == null || textBox1.Text == "") { return; } x = new BsTreeGUI(); // x.Show2(panel1, int.Parse(textBox1.Text)); }
private void button1_Click(object sender, EventArgs e) { x = new BsTreeGUI(); x.Show(panel1); }