private void SearchButton_Click_1(object sender, EventArgs e) { string appointmentId = SearchBar.Text; form = SqlUpdater.GetAppointmentDetails(appointmentId); CustomerIdBox.Text = form["customerId"]; TypeBox.Text = form["type"]; StartTimeBox.Text = SqlUpdater.ConvertToTimezone(form["start"]); EndTimeBox.Text = (SqlUpdater.ConvertToTimezone(form["end"])); }