//call searchfunction for connections
        private void cmdSearchConnection_Click(object sender, EventArgs e)
        {
            Search SearchConnection = new Search();

            SearchConnection.SearchConnections(txtStartSearch, txtDestinationSearch, listConnectionSearch, DatePickerConnection, TimePickerConnection, radioArrivalConnection);
        }
        //call searchfunction for departureboard
        private void cmdSearchTable_Click(object sender, EventArgs e)
        {
            Search SearchDepartureBoard = new Search();

            SearchDepartureBoard.SearchDepartures(txtDepartureSearch, listDepartureSearch);
        }
        //call searchfunction for stations
        private void txtDepartureSearch_TextUpdate(object sender, EventArgs e)
        {
            Search searchstation = new Search();

            searchstation.SearchStations((ComboBox)sender);
        }