Example #1
0
 /// <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 to.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void votesToListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     VoterView2.Refresh();
     merge.IsEnabled = VotesCanMerge;
 }
Example #2
0
 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 to.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void votesToListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     VoterView2.Refresh();
 }