private void addButton_Click(object sender, EventArgs e)
        {
            if (testNameBox.Text == "" || testCategoryBox.Text == "" || testPriceBox.Text == "" || roomComboBox.Items.Count == 0)
            {
                MessageBox.Show("Please give all information");
                return;
            }

            string  name     = testNameBox.Text;
            string  category = testCategoryBox.Text;
            string  roomNo   = roomComboBox.SelectedItem.ToString();
            int     price    = Convert.ToInt32(testPriceBox.Text);
            testDTO t        = new testDTO(name, category, roomNo, price);
            testDAO tD       = new testDAO();

            tD.createTest(t);
            clearFields();
        }