private void btnSubmit_Click(object sender, EventArgs e) { AddingTourist = new Tourist(txtBxLogin.Text, txtBxPassword.Text, txtBxName.Text, txtBxSurname.Text, txtBxThirdname.Text, dateTimeDateOfBirth.Text, txtBxEmail.Text, dateTimeComing.Text, dateTimeLeaving.Text, txtBxCountry.Text, int.Parse(comboBox1.SelectedItem.ToString())); }