private void JuryAddButton_Click(object sender, EventArgs e)
 {
     JuryListbox.BeginUpdate();
     JuryListbox.Items.Add(JuryFIOTextbox.Text);
     JuryListbox.EndUpdate();
     JuryFIOTextbox.Text      = "";
     JuryRemoveButton.Enabled = true;
     JuryCountLabelRefresh();
 }
 private void JuryRemoveButton_Click(object sender, EventArgs e)
 {
     JuryListbox.BeginUpdate();
     JuryListbox.Items.Remove(JuryListbox.SelectedItem);
     JuryListbox.EndUpdate();
     if (JuryListbox.Items.Count == 0)
     {
         JuryRemoveButton.Enabled = false;
     }
     if ((JuryListbox.Items.Count < 30) && (JuryAddButton.Enabled == false) && (JuryFIOTextbox.Text != ""))
     {
         JuryAddButton.Enabled = true;
     }
     JuryCountLabelRefresh();
 }