Beispiel #1
0
        private void searchButton_Click(object sender, EventArgs e)
        {
            string appointmentId = appointmentIDTextBox.Text;

            appointmentDetails  = SqlUpdater.GetAppointmentDetails(appointmentId);
            pullCustomerID.Text = appointmentDetails["customerId"];
            pullTypeLabel.Text  = appointmentDetails["type"];
            pullStartLabel.Text = appointmentDetails["start"];
            pullEndLabel.Text   = appointmentDetails["end"];
        }
Beispiel #2
0
        private void searchButton_Click(object sender, EventArgs e)
        {
            string appointmentId = searchTextBox.Text;

            form = SqlUpdater.GetAppointmentDetails(appointmentId);
            customerIDTextBox.Text = form["customerId"];
            typeTextBox.Text       = form["type"];
            startTextBox.Text      = SqlUpdater.ConvertToTimezone(form["start"]);
            endTextBox.Text        = (SqlUpdater.ConvertToTimezone(form["end"]));
        }