/// <summary> /// Update enabled state of merge button, and current list of voters, based on current vote selection /// for the list of votes to be merged from. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void votesFromListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { VoterView1.Refresh(); merge.IsEnabled = VotesCanMerge; }
private void UpdateVoterCollections() { VoterView1.Refresh(); VoterView2.Refresh(); }
/// <summary> /// Update enabled state of merge button, and current list of voters, based on current vote selection /// for the list of votes to be merged from. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void votesFromListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { VoterView1.Refresh(); }