private void button2_Click(object sender, EventArgs e)
        {
            if (listBox1.SelectedIndex == -1) return;
            FormTesting testing = new FormTesting().setTest((TestInfo)tests[listBox1.SelectedIndex]);
            //testing.Visible = false;

            testing.Show();
        }
        private void button2_Click(object sender, EventArgs e)
        {
            if (listBox1.SelectedIndex == -1)
            {
                return;
            }
            FormTesting testing = new FormTesting().setTest((TestInfo)tests[listBox1.SelectedIndex]);

            //testing.Visible = false;

            testing.Show();
        }