private void UserMappingsClick(object sender, EventArgs e) { var userMappings = new UserMappings(_settings); userMappings.ShowDialog(this); _userList.RefreshUserPanelVisibility(); }
private void IsADuplicateClick(object sender, EventArgs e) { WithSelectedUser(selectedPerson => { AddMapping addMapping = new AddMapping(_settings, selectedPerson.RawName); addMapping.ShowDialog(this); var userMappings = new UserMappings(_settings); userMappings.ShowDialog(this); RefreshUserPanelVisibility(); }); }