private void AddClick(object sender, System.EventArgs e) { AddMapping addMapping = new AddMapping(_settings); addMapping.ShowDialog(this); RefreshMappingList(); }
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(); }); }