// NOTIFICATION COMBO BOX selected index changed event private void cbx_Notifications_SelectedIndexChanged(object sender, EventArgs e) { BusinessObjects _businessObjects = new BusinessObjects(); // Clear Notification detail display box rbox_ClerkNotifications.Clear(); // Get description of selected notification List<string> notificationDescription = notifications[cbx_Notifications.SelectedIndex].ToNotificationDescription(); // Write description to notification diplay box foreach (string lineItem in notificationDescription) { rbox_ClerkNotifications.AppendText(lineItem + Environment.NewLine); } // Mark notification as READ notifications[cbx_Notifications.SelectedIndex].IsRead = true; // Update database to show notification is READ _businessObjects.UpdateNotification(notifications[cbx_Notifications.SelectedIndex]); }