//return to the new refill requests panel and refresh the listview private void backButton_Click(object sender, EventArgs e) { RefillRequest.retrieveRefillRequests(); populateList(); prescriptionDetailPanel.Hide(); newRefillRequestsPanel.Show(); }
//displays how many unread notifications there are private void showUnread() { Notice.retrieveNotices(); RefillRequest.retrieveRefillRequests(); Appointment.retrieveAppointments(User.Id); notificationButton.Text = "Notices (" + Notice.Unread + ")"; refillRequestButton.Text = "Refill Requests (" + RefillRequest.NewRefillRequestCount + ")"; viewAppointmentsButton.Text = "Appointments (" + Appointment.NewAppointmentCount + ")"; }