コード例 #1
0
        private void SearchButton_Click(object sender, EventArgs e)
        {
            string appointmentId = SearchBox.Text;

            appointmentDetails = SqlUpdater.GetAppointmentDetails(appointmentId);
            TeamIdLabel.Text   = appointmentDetails["customerId"];
            TypeLabel.Text     = appointmentDetails["type"];
            StartLabel.Text    = appointmentDetails["start"];
            EndLabel.Text      = appointmentDetails["end"];
        }
コード例 #2
0
        private void SearchButton_Click(object sender, EventArgs e)
        {
            string appointmentId = SearchBar.Text;

            form              = SqlUpdater.GetAppointmentDetails(appointmentId);
            TeamIdBox.Text    = form["customerId"];
            TypeBox.Text      = form["type"];
            StartTimeBox.Text = SqlUpdater.ConvertToTimezone(form["start"]);
            EndTimeBox.Text   = (SqlUpdater.ConvertToTimezone(form["end"]));
        }