using System; namespace Password_Manager { static class ProfileHandler { public static Profile CurrentProfile; public static ProfileList ListOfProfiles; public static void ProfileChange(object sender, EventArgs e) { Program.mainForm.searchBox.Clear(); Program.mainForm.resultList.ReloadResults(); Program.mainForm.profileSelection.DataSource = ListOfProfiles; } } }