// -------------- Data updates -------------- // // --------- Other/shared functions --------- // private void chooseStaffName(int staffID = 0) { try { StaffProxy selectedStaff = (staffID != 0) ? StaffFunctions.GetStaffProxy(staffID) : (StaffProxy)PossibleNames.SelectedItem; NameLike.Text = selectedStaff.StaffName; exactName = true; nameFilter(); } catch (Exception generalException) { MessageFunctions.Error("Error processing staff name selection", generalException); } }