public InputForm(String t, CreateTreeForm f1ref) { InitializeComponent(); comboBox1.Items.Add("String"); comboBox1.Items.Add("Integer"); comboBox1.SelectedIndex = 0; type = t; this.CreateTreeForm = f1ref; }
//Button to open CreateTreeForm private void button1_Click(object sender, EventArgs e) { CreateTreeForm f = new CreateTreeForm(); f.Visible = true; f.Activate(); }